]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toplevel.cpp
A little clarification
[wxWidgets.git] / src / mac / toplevel.cpp
index d6b4fbd2cebe1bd9e3e679bd4aad430bae8ff70e..190bcd89465e2479cb5b0084f977f66dd1dad4be 100644 (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