]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/frame.h
moved SetBestSize() to .cpp file; set min size from it
[wxWidgets.git] / include / wx / univ / frame.h
index 4f13277f1ea16556ee8f1fa85a2ef00f0fff2a24..e30d470a491bb30f023b3c9ebfda8983874792dd 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_FRAME_H_
 #define _WX_UNIV_FRAME_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univframe.h"
 #endif
 
@@ -55,7 +55,7 @@ public:
 
 #if wxUSE_TOOLBAR
     // create main toolbar bycalling OnCreateToolBar()
-    virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL,
+    virtual wxToolBar* CreateToolBar(long style = -1,
                                      wxWindowID id = -1,
                                      const wxString& name = wxToolBarNameStr);
     virtual void PositionToolBar();