git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29561
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
InheritAttributes();
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUBAR));
InheritAttributes();
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUBAR));
+
+ // we must refresh the frame size when the statusbar is created, because
+ // its client area might change
+ wxFrame *frame = wxDynamicCast(GetParent(), wxFrame);
+ if ( frame )
+ {
+ frame->SendSizeEvent();
+ }