Needs to refresh the affected parts when resized but I think that would involve
breaking binary compatibilty. So for now use wxFULL_REPAINT_ON_RESIZE. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1cdab5d13a
commit
3dddebb1cd
@ -55,6 +55,9 @@ bool wxStaticBox::Create(wxWindow *parent,
|
||||
long style,
|
||||
const wxString &name)
|
||||
{
|
||||
// FIXME refresh just the right/bottom parts affected in OnSize
|
||||
style |= wxFULL_REPAINT_ON_RESIZE;
|
||||
|
||||
if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user