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:
Julian Smart 2003-12-23 19:42:05 +00:00
parent 0f43fbdf6f
commit 1066fece29
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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