X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..47f1ad6a7120c2eeba788b5e1300e837ae2e7e58:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 52a68b5ab3..5caf45782a 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)