]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/frame.h
Patch #826420, and also adapted to new SWIG
[wxWidgets.git] / include / wx / mac / frame.h
index e131fdec73bee625a8a3932a51d14644dceee1ac..f92f7196fcaf0dbfe3aa73397ef937e8af797589 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FRAME_H_
 #define _WX_FRAME_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "frame.h"
 #endif
 
@@ -72,7 +72,7 @@ public:
 
     // Toolbar
 #if wxUSE_TOOLBAR
-    virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT,
+    virtual wxToolBar* CreateToolBar(long style = -1,
                                      wxWindowID id = -1,
                                      const wxString& name = wxToolBarNameStr);