X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b2f31eb30be576374064413b9d0f63a1bf8c110..c6151f2a94c8851e712755839106707a863c5449:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 70f51f6fa5..15bdaf3482 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -69,12 +69,19 @@ 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) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxButton) }; #endif