]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/tbar95.h
fixed modal dialogs after event loop change
[wxWidgets.git] / include / wx / msw / tbar95.h
index ae0994cb71b69de3d4ed21dab46144c9f481fa00..e184cd87c54d370512e4c4df9d26db24f4aa5801 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TBAR95_H_
 #define _WX_TBAR95_H_
 
 #ifndef _WX_TBAR95_H_
 #define _WX_TBAR95_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "tbar95.h"
 #endif
 
     #pragma interface "tbar95.h"
 #endif
 
@@ -76,8 +76,8 @@ protected:
     // common part of all ctors
     void Init();
 
     // common part of all ctors
     void Init();
 
-    // create the toolbar control
-    bool MSWCreateToolbar(const wxPoint& pos, const wxSize& size, long style);
+    // create the native toolbar control
+    bool MSWCreateToolbar(const wxPoint& pos, const wxSize& size);
 
     // recreate the control completely
     void Recreate();
 
     // recreate the control completely
     void Recreate();