]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/bmpbuttn.h
Fix building wxSTC as a DLL using MinGW GCC 3.x.
[wxWidgets.git] / include / wx / mac / bmpbuttn.h
index 43f61a6b57f1a36e4e6f6fc4a86c12e58161e060..178c273ee925fad9cdb2ea75ea825b429b29007f 100644 (file)
 #ifndef _WX_BMPBUTTN_H_
 #define _WX_BMPBUTTN_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "bmpbuttn.h"
 #endif
 
 #include "wx/button.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
 
 #define wxDEFAULT_BUTTON_MARGIN 4