]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/button.h
fixed build
[wxWidgets.git] / include / wx / motif / button.h
index dc1aec766ff185df933da77dc220a15b45795e1a..d9bb8faedc4b63be1bac1368046e9e8ede362aae 100644 (file)
 #ifndef _WX_BUTTON_H_
 #define _WX_BUTTON_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "button.h"
 #endif
 
-#include "wx/control.h"
-
-WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
-
 // Pushbutton
-class WXDLLEXPORT wxButton: public wxControl
+class WXDLLEXPORT wxButton: public wxButtonBase
 {
     DECLARE_DYNAMIC_CLASS(wxButton)