MOre wxUSE_... fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0f43fbdf6f
commit
1066fece29
@ -1129,8 +1129,12 @@ void wxTopLevelWindowMac::DoMoveWindow(int x, int y, int width, int height)
|
||||
if ( IsKindOf( CLASSINFO( wxFrame ) ) )
|
||||
{
|
||||
wxFrame* frame = (wxFrame*) this ;
|
||||
#if wxUSE_STATUSBAR
|
||||
frame->PositionStatusBar();
|
||||
#endif
|
||||
#if wxUSE_TOOLBAR
|
||||
frame->PositionToolBar();
|
||||
#endif
|
||||
}
|
||||
if ( doMove )
|
||||
wxWindowMac::MacTopLevelWindowChangedPosition() ; // like this only children will be notified
|
||||
|
@ -1129,8 +1129,12 @@ void wxTopLevelWindowMac::DoMoveWindow(int x, int y, int width, int height)
|
||||
if ( IsKindOf( CLASSINFO( wxFrame ) ) )
|
||||
{
|
||||
wxFrame* frame = (wxFrame*) this ;
|
||||
#if wxUSE_STATUSBAR
|
||||
frame->PositionStatusBar();
|
||||
#endif
|
||||
#if wxUSE_TOOLBAR
|
||||
frame->PositionToolBar();
|
||||
#endif
|
||||
}
|
||||
if ( doMove )
|
||||
wxWindowMac::MacTopLevelWindowChangedPosition() ; // like this only children will be notified
|
||||
|
Loading…
Reference in New Issue
Block a user