]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/bmpbuttn.h
unicode adaption
[wxWidgets.git] / include / wx / mac / bmpbuttn.h
index 43f61a6b57f1a36e4e6f6fc4a86c12e58161e060..28a91ed93f218e4c1d7f883ed4fa780cf5d03712 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
 
@@ -56,6 +56,9 @@ public:
   virtual void DrawButtonFocus( WXHDC dc, int left, int top, int right, int bottom, bool sel );
   virtual void DrawButtonDisable( WXHDC dc, int left, int top, int right, int bottom, bool with_marg );
 */
+
+protected:
+    virtual wxSize DoGetBestSize() const;    
 };
 
 #endif