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:
@@ -1129,8 +1129,12 @@ void wxTopLevelWindowMac::DoMoveWindow(int x, int y, int width, int height)
|
|||||||
if ( IsKindOf( CLASSINFO( wxFrame ) ) )
|
if ( IsKindOf( CLASSINFO( wxFrame ) ) )
|
||||||
{
|
{
|
||||||
wxFrame* frame = (wxFrame*) this ;
|
wxFrame* frame = (wxFrame*) this ;
|
||||||
|
#if wxUSE_STATUSBAR
|
||||||
frame->PositionStatusBar();
|
frame->PositionStatusBar();
|
||||||
|
#endif
|
||||||
|
#if wxUSE_TOOLBAR
|
||||||
frame->PositionToolBar();
|
frame->PositionToolBar();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if ( doMove )
|
if ( doMove )
|
||||||
wxWindowMac::MacTopLevelWindowChangedPosition() ; // like this only children will be notified
|
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 ) ) )
|
if ( IsKindOf( CLASSINFO( wxFrame ) ) )
|
||||||
{
|
{
|
||||||
wxFrame* frame = (wxFrame*) this ;
|
wxFrame* frame = (wxFrame*) this ;
|
||||||
|
#if wxUSE_STATUSBAR
|
||||||
frame->PositionStatusBar();
|
frame->PositionStatusBar();
|
||||||
|
#endif
|
||||||
|
#if wxUSE_TOOLBAR
|
||||||
frame->PositionToolBar();
|
frame->PositionToolBar();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if ( doMove )
|
if ( doMove )
|
||||||
wxWindowMac::MacTopLevelWindowChangedPosition() ; // like this only children will be notified
|
wxWindowMac::MacTopLevelWindowChangedPosition() ; // like this only children will be notified
|
||||||
|
Reference in New Issue
Block a user