From 916a68faea8c11413fab7e11523b40f583f5a9eb Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 14 May 2005 12:33:38 +0000 Subject: [PATCH] Applied patch #1198401(GroupBox background painting cure). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/radiobox.cpp | 1 - src/os2/window.cpp | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/os2/radiobox.cpp b/src/os2/radiobox.cpp index 1241756dd0..fe73e02070 100644 --- a/src/os2/radiobox.cpp +++ b/src/os2/radiobox.cpp @@ -646,7 +646,6 @@ void wxRadioBox::DoSetSize( ,(LONG)nMaxHeight ,SWP_ZORDER | SWP_SIZE | SWP_MOVE | SWP_SHOW ); - GetParent()->Refresh(); // // Where do we put the next button? // diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 5bbfaf1fde..1fbe379798 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -394,6 +394,10 @@ bool wxWindowOS2::Create( _T("wxStaticBox can't be used as a window parent!") ); #endif // wxUSE_STATBOX + // Ensure groupbox backgrounds are painted + if (IsKindOf(CLASSINFO(wxPanel))) + lStyle &= ~wxCLIP_CHILDREN; + if ( !CreateBase( pParent ,vId ,rPos -- 2.45.2