diff options
-rw-r--r-- | include/m_message.h | 5 | ||||
-rw-r--r-- | plugins/MirLua/src/Modules/m_message.cpp | 3 | ||||
-rw-r--r-- | src/mir_app/src/srmm_base.cpp | 1 |
3 files changed, 1 insertions, 8 deletions
diff --git a/include/m_message.h b/include/m_message.h index 1adc08a5e2..975ff417b6 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -60,16 +60,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MSG_WINDOW_EVT_CLOSING 3 // window is about to be closed
#define MSG_WINDOW_EVT_CLOSE 4 // window has been closed
-#define MSG_WINDOW_UFLAG_MSG_FROM 0x00000001
-#define MSG_WINDOW_UFLAG_MSG_TO 0x00000002
-#define MSG_WINDOW_UFLAG_MSG_BOTH 0x00000004
-
struct MessageWindowEventData
{
MCONTACT hContact;
HWND hwndWindow; // top level window for the contact
uint32_t uType; // see event types above
- uint32_t uFlags; // used to indicate message direction for all event types except custom
HWND hwndInput; // input area window for the contact (or NULL if there is none)
HWND hwndLog; // log area window for the contact (or NULL if there is none)
};
diff --git a/plugins/MirLua/src/Modules/m_message.cpp b/plugins/MirLua/src/Modules/m_message.cpp index eee8c43f3e..0bc9142dad 100644 --- a/plugins/MirLua/src/Modules/m_message.cpp +++ b/plugins/MirLua/src/Modules/m_message.cpp @@ -66,8 +66,7 @@ LUAMOD_API int luaopen_m_message(lua_State *L) MT<MessageWindowEventData>(L, "MessageWindowEventData") .Field(&MessageWindowEventData::uType, "Type", LUA_TINTEGER) - .Field(&MessageWindowEventData::hContact, "hContact", LUA_TINTEGER) - .Field(&MessageWindowEventData::uFlags, "Flags", LUA_TINTEGER); + .Field(&MessageWindowEventData::hContact, "hContact", LUA_TINTEGER); return 1; } diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp index 92107865db..b9e6e039a9 100644 --- a/src/mir_app/src/srmm_base.cpp +++ b/src/mir_app/src/srmm_base.cpp @@ -889,7 +889,6 @@ int CSrmmBaseDialog::NotifyEvent(int code) mwe.hContact = m_hContact;
mwe.hwndWindow = m_hwnd;
mwe.uType = code;
- mwe.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
mwe.hwndInput = m_message.GetHwnd();
mwe.hwndLog = m_pLog->GetHwnd();
return ::NotifyEventHooks(hHookSrmmEvent, 0, (LPARAM)&mwe);
|