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:
Vadim Zeitlin
2003-07-21 23:00:07 +00:00
parent 184a08cfb9
commit 7828f07191

View File

@@ -70,6 +70,10 @@ bool wxSplitterWindow::Create(wxWindow *parent, wxWindowID id,
// allow TABbing from one window to the other
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))
return FALSE;