summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-03 21:02:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-03 21:02:37 +0300
commit4300e0650271a2c245aec08782497f4bec57f59c (patch)
treec2e66b7e2474a890b1009464d85816197b30851f /src
parent51720b0288dcb1bed4c34841534dc1ef1f9958c2 (diff)
missing CSplitter initializer added
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/mir_core.def1
-rw-r--r--src/mir_core/src/mir_core64.def1
-rw-r--r--src/mir_core/src/ui_utils.cpp6
3 files changed, 8 insertions, 0 deletions
diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def
index 2d0e961b20..7456920715 100644
--- a/src/mir_core/src/mir_core.def
+++ b/src/mir_core/src/mir_core.def
@@ -1063,3 +1063,4 @@ CallFunctionSync @1170
??_7CSplitter@@6B@ @1220 NONAME
?CustomWndProc@CSplitter@@MAEJIIJ@Z @1221 NONAME
?GetPos@CSplitter@@QBEHXZ @1222 NONAME
+?OnInit@CSplitter@@MAEXXZ @1223 NONAME
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def
index 985e595c74..ef5d3f229a 100644
--- a/src/mir_core/src/mir_core64.def
+++ b/src/mir_core/src/mir_core64.def
@@ -1063,3 +1063,4 @@ CallFunctionSync @1170
??_7CSplitter@@6B@ @1220 NONAME
?CustomWndProc@CSplitter@@MEAA_JI_K_J@Z @1221 NONAME
?GetPos@CSplitter@@QEBAHXZ @1222 NONAME
+?OnInit@CSplitter@@MEAAXXZ @1223 NONAME
diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp
index ade3c68e86..c5f69082d8 100644
--- a/src/mir_core/src/ui_utils.cpp
+++ b/src/mir_core/src/ui_utils.cpp
@@ -2579,6 +2579,12 @@ CSplitter::CSplitter(CDlgBase *wnd, int idCtrl)
{
}
+void CSplitter::OnInit()
+{
+ CSuper::OnInit();
+ Subclass();
+}
+
LRESULT CSplitter::CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam)
{
RECT rc;