X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..f71b0c2d56b03b7823e661aacd05cf1a791e5c2f:/include/wx/button.h diff --git a/include/wx/button.h b/include/wx/button.h index bf32419366..250f53129c 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) };