Can now set msw.window.no-clip-children to 1 to eliminate weird
refresh behaviour (delays between a window being erased and repainted, giving a ghostly gradual-redraw effect). May be a temporary 'fix' until properly fixed before 2.6. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,6 +54,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
|
#include "wx/sysopt.h"
|
||||||
|
|
||||||
#if wxUSE_DRAG_AND_DROP
|
#if wxUSE_DRAG_AND_DROP
|
||||||
#include "wx/dnd.h"
|
#include "wx/dnd.h"
|
||||||
@@ -1146,6 +1147,7 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
|||||||
// using this flag results in very significant reduction in flicker,
|
// using this flag results in very significant reduction in flicker,
|
||||||
// especially with controls inside the static boxes (as the interior of the
|
// especially with controls inside the static boxes (as the interior of the
|
||||||
// box is not redrawn twice)
|
// box is not redrawn twice)
|
||||||
|
if (!wxSystemOptions::GetOptionInt(wxT("msw.window.no-clip-children")) == 1)
|
||||||
style |= WS_CLIPCHILDREN;
|
style |= WS_CLIPCHILDREN;
|
||||||
|
|
||||||
// it doesn't seem useful to use WS_CLIPSIBLINGS here as we officially
|
// it doesn't seem useful to use WS_CLIPSIBLINGS here as we officially
|
||||||
|
Reference in New Issue
Block a user