X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..e6a8416274252fb6ea33800cfce0e4ba0a0542f1:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index a6dc795486..9c3ef03c93 100644 --- a/include/wx/msw/tglbtn.h +++ b/include/wx/msw/tglbtn.h @@ -48,6 +48,9 @@ public: virtual void Command(wxCommandEvent& event); virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + protected: virtual wxSize DoGetBestSize() const; virtual wxBorder GetDefaultBorder() const;