]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/tglbtn.h
Make storing non-trivial data in wxThreadSpecificInfo possible.
[wxWidgets.git] / interface / wx / tglbtn.h
index 866be9765e9b55c0259d08cfa486019df2a86994..d22a6744f9b27552b80a40214c9e8137e5c87960 100644 (file)
@@ -2,11 +2,12 @@
 // Name:        tglbtn.h
 // Purpose:     interface of wxBitmapToggleButton, wxToggleButton
 // Author:      wxWidgets team
 // Name:        tglbtn.h
 // Purpose:     interface of wxBitmapToggleButton, wxToggleButton
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
+wxEventType wxEVT_TOGGLEBUTTON;
+
 /**
     @class wxToggleButton
 
 /**
     @class wxToggleButton
 
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
-        Handles a toggle button click event.
+        Handles a wxEVT_TOGGLEBUTTON event.
     @endEventTable
 
     @library{wxcore}
     @category{ctrl}
     @endEventTable
 
     @library{wxcore}
     @category{ctrl}
-    @appearance{togglebutton.png}
+    @appearance{togglebutton}
 
     @see wxCheckBox, wxButton, wxBitmapToggleButton
 */
 
     @see wxCheckBox, wxButton, wxBitmapToggleButton
 */
-class wxToggleButton : public wxControl
+class wxToggleButton : public wxAnyButton
 {
 public:
     /**
 {
 public:
     /**
@@ -119,14 +120,13 @@ public:
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
-        Handles a toggle button click event.
+        Handles a wxEVT_TOGGLEBUTTON event.
     @endEventTable
 
     @library{wxcore}
     @category{ctrl}
     @endEventTable
 
     @library{wxcore}
     @category{ctrl}
-    @appearance{bitmaptogglebutton.png}
 */
 */
-class wxBitmapToggleButton : public wxControl
+class wxBitmapToggleButton : public wxToggleButton
 {
 public:
     /**
 {
 public:
     /**