X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..4ce846b17c9a1ad71c749253cc8b73d492ed9634:/include/wx/osx/carbon/button.h diff --git a/include/wx/osx/carbon/button.h b/include/wx/osx/carbon/button.h index 1c3b4d01ae..ccf647576f 100644 --- a/include/wx/osx/carbon/button.h +++ b/include/wx/osx/carbon/button.h @@ -43,12 +43,15 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxButtonNameStr); - virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; static wxSize GetDefaultSize(); virtual wxWindow *SetDefault(); virtual void Command(wxCommandEvent& event); + // osx specific event handling common for all osx-ports + + virtual bool HandleClicked( double timestampsec ); + protected: virtual wxSize DoGetBestSize() const ; @@ -82,7 +85,9 @@ public: void SetOpen( bool open ); bool IsOpen() const; - virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; + // osx specific event handling common for all osx-ports + + virtual bool HandleClicked( double timestampsec ); protected: virtual wxSize DoGetBestSize() const ;