From: Julian Smart Date: Thu, 28 Apr 2005 21:40:28 +0000 (+0000) Subject: Switch deferred sizing off for radioboxes because with them, the radio buttons X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/177895fbab5bf8f1c2e9ebf8e0f162339354b758 Switch deferred sizing off for radioboxes because with them, the radio buttons can be invisible in some circumstances git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index dcbbe09151..181a778ae0 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -40,7 +40,10 @@ #include "wx/msw/subwin.h" -#define USE_DEFERRED_SIZING 1 +// This is switched off because in some situations, the radiobox +// buttons simply don't appear when deferred sizing is on. +// Instead, refreshing on WM_MOVE seems to at least cure the droppings. +#define USE_DEFERRED_SIZING 0 #if wxUSE_TOOLTIPS #if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__)