X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b2f31eb30be576374064413b9d0f63a1bf8c110..4a7ec775feb4f125cbeffe641a8e48b0a42848eb:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 70f51f6fa5..5caf45782a 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -69,9 +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; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const ; private: DECLARE_DYNAMIC_CLASS(wxButton)