make it possible to have flickerless splitter by not forcing repaint on resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,6 +70,10 @@ bool wxSplitterWindow::Create(wxWindow *parent, wxWindowID id,
|
|||||||
// allow TABbing from one window to the other
|
// allow TABbing from one window to the other
|
||||||
style |= wxTAB_TRAVERSAL;
|
style |= wxTAB_TRAVERSAL;
|
||||||
|
|
||||||
|
// we don't need to be completely repainted after resize and doing it
|
||||||
|
// results in horrible flicker
|
||||||
|
style |= wxNO_FULL_REPAINT_ON_RESIZE;
|
||||||
|
|
||||||
if (!wxWindow::Create(parent, id, pos, size, style, name))
|
if (!wxWindow::Create(parent, id, pos, size, style, name))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user