From 7828f07191cf04dd193bb4a692638e90f936538c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Jul 2003 23:00:07 +0000 Subject: [PATCH] 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 --- src/generic/splitter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index 4005998052..7a89f4c31a 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -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;