X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..f4bc1aa27cb33f679d7e9c1518a7855bbc1fa471:/include/wx/button.h diff --git a/include/wx/button.h b/include/wx/button.h index bf32419366..519d0b7ffe 100644 --- a/include/wx/button.h +++ b/include/wx/button.h @@ -47,13 +47,13 @@ class WXDLLIMPEXP_FWD_CORE wxBitmap; -extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[]; +extern WXDLLIMPEXP_DATA_CORE(const char) wxButtonNameStr[]; // ---------------------------------------------------------------------------- // wxButton: a push button // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxButtonBase : public wxControl +class WXDLLIMPEXP_CORE wxButtonBase : public wxControl { public: wxButtonBase() { } @@ -78,6 +78,9 @@ public: static wxSize GetDefaultSize(); protected: + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + DECLARE_NO_COPY_CLASS(wxButtonBase) }; @@ -92,7 +95,7 @@ protected: #elif defined(__WXGTK__) #include "wx/gtk1/button.h" #elif defined(__WXMAC__) - #include "wx/mac/button.h" + #include "wx/osx/button.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/button.h" #elif defined(__WXPM__)