X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/323d36e452c48f1e48ffe48312004d5e224634ca..45df4bb6c238e3c42765af9454c15ad814d7a80a:/interface/wx/tglbtn.h 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: /**