X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..6e3515377ca94ccc018f7a5ba8f185914081e601:/include/wx/button.h?ds=sidebyside 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) };