]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
new makefile
[wxWidgets.git] / src / msw / frame.cpp
index f6344c7c0ccb857f906f708fbf56fde52b71d71c..effd343a88674f207384790913bc6a4f8a5cb651 100644 (file)
 // globals
 // ----------------------------------------------------------------------------
 
-extern const wxChar *wxFrameClassName;
-
 #if wxUSE_MENUS_NATIVE
-extern wxMenu *wxCurrentPopupMenu;
+    extern wxMenu *wxCurrentPopupMenu;
 #endif // wxUSE_MENUS_NATIVE
 
 // ----------------------------------------------------------------------------
@@ -495,6 +493,8 @@ void wxFrame::PositionToolBar()
         else
         {
             tw = width;
+            if ( toolbar->GetWindowStyleFlag() & wxTB_FLAT )
+                th -= 3;
         }
 
         // use the 'real' MSW position here, don't offset relativly to the