]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/button.h
don't export deprecated interface to clipboard from DLL
[wxWidgets.git] / include / wx / motif / button.h
index dd046850d806f6b629ecfb39480d0988c74a25fe..32958d5753144ef9ac5382baa3ffde590492918c 100644 (file)
 #ifndef _WX_BUTTON_H_
 #define _WX_BUTTON_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "button.h"
 #endif
 
-WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
-
 // Pushbutton
 class WXDLLEXPORT wxButton: public wxButtonBase
 {
@@ -50,6 +48,7 @@ public:
     // Implementation
 private:
     virtual wxSize DoGetBestSize() const;
+    wxSize OldGetBestSize() const;
     void SetDefaultShadowThicknessAndResize();
 };