diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-01 16:18:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-01 16:18:54 +0300 |
commit | 04f37ad5c8b27e728ee933a3f00ba7db43fac7d9 (patch) | |
tree | d4eeb1b0e87879794deb8eafbceed334af0a8787 /src/mir_core | |
parent | c1736131717176fb800a7bf45a6b5a4568e8f9af (diff) |
bad anti-flicker code removed
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/CSplitter.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mir_core/src/CSplitter.cpp b/src/mir_core/src/CSplitter.cpp index c229c3eb93..0fc0932e52 100644 --- a/src/mir_core/src/CSplitter.cpp +++ b/src/mir_core/src/CSplitter.cpp @@ -27,8 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. CSplitter::CSplitter(CDlgBase *wnd, int idCtrl) : CCtrlBase(wnd, idCtrl), - m_iPosition(0), - m_iCount(0) + m_iPosition(0) { } @@ -70,12 +69,7 @@ LRESULT CSplitter::CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam) } OnChange(this); - - if (m_iCount == 3) { - m_iCount = 0; - PostMessage(m_parentWnd->GetHwnd(), WM_SIZE, 0, 0); - } - else m_iCount++; + PostMessage(m_parentWnd->GetHwnd(), WM_SIZE, 0, 0); } return 0; |