X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b2f0b9342aecc01f06871c53c75c53e8f7be9ff3:/include/wx/msw/button.h?ds=sidebyside diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index f777710dad..7fc7e0f0a2 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -43,7 +43,7 @@ public: virtual ~wxButton(); - virtual void SetDefault(); + virtual wxWindow *SetDefault(); // implementation from now on virtual void Command(wxCommandEvent& event); @@ -55,6 +55,7 @@ public: virtual bool SetForegroundColour(const wxColour &colour); virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *item); + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; private: void MakeOwnerDrawn(); @@ -72,7 +73,6 @@ protected: // usually overridden base class virtuals virtual wxSize DoGetBestSize() const; - virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const ; private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxButton)