Applied patch #1198401(GroupBox background painting cure).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2005-05-14 12:33:38 +00:00
parent 8da2fe8b42
commit 916a68faea
2 changed files with 4 additions and 1 deletions

View File

@@ -646,7 +646,6 @@ void wxRadioBox::DoSetSize(
,(LONG)nMaxHeight ,(LONG)nMaxHeight
,SWP_ZORDER | SWP_SIZE | SWP_MOVE | SWP_SHOW ,SWP_ZORDER | SWP_SIZE | SWP_MOVE | SWP_SHOW
); );
GetParent()->Refresh();
// //
// Where do we put the next button? // Where do we put the next button?
// //

View File

@@ -394,6 +394,10 @@ bool wxWindowOS2::Create(
_T("wxStaticBox can't be used as a window parent!") ); _T("wxStaticBox can't be used as a window parent!") );
#endif // wxUSE_STATBOX #endif // wxUSE_STATBOX
// Ensure groupbox backgrounds are painted
if (IsKindOf(CLASSINFO(wxPanel)))
lStyle &= ~wxCLIP_CHILDREN;
if ( !CreateBase( pParent if ( !CreateBase( pParent
,vId ,vId
,rPos ,rPos