X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..81764280afaa3e2ff80aa16a2ee433358e7ff272:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 52a68b5ab3..5710249793 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -69,7 +69,16 @@ protected: // send a notification event, return TRUE if processed bool SendClickEvent(); + // default button handling + void SetTmpDefault(); + void UnsetTmpDefault(); + + // set or unset BS_DEFPUSHBUTTON style + static void SetDefaultStyle(wxButton *btn, bool on); + + // usually overridden base class virtuals virtual wxSize DoGetBestSize() const; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; private: DECLARE_DYNAMIC_CLASS(wxButton)