X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/323d36e452c48f1e48ffe48312004d5e224634ca..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/tglbtn.h diff --git a/interface/wx/tglbtn.h b/interface/wx/tglbtn.h index 866be9765e..d22a6744f9 100644 --- a/interface/wx/tglbtn.h +++ b/interface/wx/tglbtn.h @@ -2,11 +2,12 @@ // Name: tglbtn.h // Purpose: interface of wxBitmapToggleButton, wxToggleButton // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +wxEventType wxEVT_TOGGLEBUTTON; + /** @class wxToggleButton @@ -19,16 +20,16 @@ @beginEventEmissionTable{wxCommandEvent} @event{EVT_TOGGLEBUTTON(id, func)} - Handles a toggle button click event. + Handles a wxEVT_TOGGLEBUTTON event. @endEventTable @library{wxcore} @category{ctrl} - @appearance{togglebutton.png} + @appearance{togglebutton} @see wxCheckBox, wxButton, wxBitmapToggleButton */ -class wxToggleButton : public wxControl +class wxToggleButton : public wxAnyButton { public: /** @@ -119,14 +120,13 @@ public: @beginEventEmissionTable{wxCommandEvent} @event{EVT_TOGGLEBUTTON(id, func)} - Handles a toggle button click event. + Handles a wxEVT_TOGGLEBUTTON event. @endEventTable @library{wxcore} @category{ctrl} - @appearance{bitmaptogglebutton.png} */ -class wxBitmapToggleButton : public wxControl +class wxBitmapToggleButton : public wxToggleButton { public: /**