X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4b712e2455dfc6e5303c428119b435d8d6182ed..39c0acb66674c5e0424633cf162e6c10c92178d4:/include/wx/mac/frame.h diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index e131fdec73..f92f7196fc 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -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);