X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d94de683a60b20153591cc3f8f52a97cf9ce9453..ca6911c361b04290fe1f0e64b616249b3b3d71ba:/include/wx/msw/button.h 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();