X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/323d36e452c48f1e48ffe48312004d5e224634ca..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/tglbtn.h?ds=sidebyside diff --git a/interface/wx/tglbtn.h b/interface/wx/tglbtn.h index 866be9765e..a2ee8e710e 100644 --- a/interface/wx/tglbtn.h +++ b/interface/wx/tglbtn.h @@ -19,7 +19,7 @@ @beginEventEmissionTable{wxCommandEvent} @event{EVT_TOGGLEBUTTON(id, func)} - Handles a toggle button click event. + Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event. @endEventTable @library{wxcore} @@ -28,7 +28,7 @@ @see wxCheckBox, wxButton, wxBitmapToggleButton */ -class wxToggleButton : public wxControl +class wxToggleButton : public wxAnyButton { public: /** @@ -119,14 +119,14 @@ public: @beginEventEmissionTable{wxCommandEvent} @event{EVT_TOGGLEBUTTON(id, func)} - Handles a toggle button click event. + Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event. @endEventTable @library{wxcore} @category{ctrl} @appearance{bitmaptogglebutton.png} */ -class wxBitmapToggleButton : public wxControl +class wxBitmapToggleButton : public wxToggleButton { public: /**