From ca9e09dd08bc6708e3349395466d510f7527c7d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Feb 2017 21:59:38 +0300 Subject: CCtrlBase::SendMsg: missing const qualifier --- include/m_gui.h | 2 +- libs/win32/mir_core.lib | Bin 318516 -> 318516 bytes libs/win64/mir_core.lib | Bin 319706 -> 319706 bytes src/mir_core/src/mir_core.def | 2 +- src/mir_core/src/mir_core64.def | 2 +- src/mir_core/src/ui_utils.cpp | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/m_gui.h b/include/m_gui.h index d55ffaa3f9..98f75a2d46 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -501,7 +501,7 @@ public: void NotifyChange(); - LRESULT SendMsg(UINT Msg, WPARAM wParam, LPARAM lParam); + LRESULT SendMsg(UINT Msg, WPARAM wParam, LPARAM lParam) const; void SetText(const wchar_t *text); void SetTextA(const char *text); diff --git a/libs/win32/mir_core.lib b/libs/win32/mir_core.lib index da05af9a8b..96dbde3840 100644 Binary files a/libs/win32/mir_core.lib and b/libs/win32/mir_core.lib differ diff --git a/libs/win64/mir_core.lib b/libs/win64/mir_core.lib index 9a05ec3a28..2d607455e6 100644 Binary files a/libs/win64/mir_core.lib and b/libs/win64/mir_core.lib differ diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def index bbe3628c5d..482f2b1d9d 100644 --- a/src/mir_core/src/mir_core.def +++ b/src/mir_core/src/mir_core.def @@ -821,7 +821,7 @@ mir_wstrcmpi @280 ?SelectSetFirstVisible@CCtrlTreeView@@QAEXPAU_TREEITEM@@@Z @968 NONAME ?SelectString@CCtrlCombo@@QAEHPA_W@Z @969 NONAME ?SelectString@CCtrlListBox@@QAEHPA_W@Z @970 NONAME -?SendMsg@CCtrlBase@@QAEJIIJ@Z @971 NONAME +?SendMsg@CCtrlBase@@QBEJIIJ@Z @971 NONAME ?SetBkBitmap@CCtrlClc@@QAEXKPAUHBITMAP__@@@Z @972 NONAME ?SetBkColor@CCtrlClc@@QAEXK@Z @973 NONAME ?SetBkColor@CCtrlListView@@QAEHK@Z @974 NONAME diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def index 7ce3f990e3..f8bc367f64 100644 --- a/src/mir_core/src/mir_core64.def +++ b/src/mir_core/src/mir_core64.def @@ -821,7 +821,7 @@ mir_wstrcmpi @280 ?SelectSetFirstVisible@CCtrlTreeView@@QEAAXPEAU_TREEITEM@@@Z @968 NONAME ?SelectString@CCtrlCombo@@QEAAHPEA_W@Z @969 NONAME ?SelectString@CCtrlListBox@@QEAAHPEA_W@Z @970 NONAME -?SendMsg@CCtrlBase@@QEAA_JI_K_J@Z @971 NONAME +?SendMsg@CCtrlBase@@QEBA_JI_K_J@Z @971 NONAME ?SetBkBitmap@CCtrlClc@@QEAAXKPEAUHBITMAP__@@@Z @972 NONAME ?SetBkColor@CCtrlClc@@QEAAXK@Z @973 NONAME ?SetBkColor@CCtrlListView@@QEAAHK@Z @974 NONAME diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp index b7ec96721c..6231170c30 100644 --- a/src/mir_core/src/ui_utils.cpp +++ b/src/mir_core/src/ui_utils.cpp @@ -2599,7 +2599,7 @@ void CCtrlBase::NotifyChange() OnChange(this); } -LRESULT CCtrlBase::SendMsg(UINT Msg, WPARAM wParam, LPARAM lParam) +LRESULT CCtrlBase::SendMsg(UINT Msg, WPARAM wParam, LPARAM lParam) const { return ::SendMessage(m_hwnd, Msg, wParam, lParam); } -- cgit v1.2.3