X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d94de683a60b20153591cc3f8f52a97cf9ce9453..ae8eee38f480032f4d1b756419f0d70b5f05f156:/include/wx/msw/button.h?ds=sidebyside diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 33d8272b2b..1ee21c4d1e 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -16,7 +16,7 @@ // Pushbutton // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxButton : public wxButtonBase +class WXDLLIMPEXP_CORE wxButton : public wxButtonBase { public: wxButton() { } @@ -58,6 +58,9 @@ public: virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *item); virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + private: void MakeOwnerDrawn();