]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/tglbtn.h
Minor fixes to wxDateTime documentation.
[wxWidgets.git] / interface / wx / tglbtn.h
index 866be9765e9b55c0259d08cfa486019df2a86994..a2ee8e710ea81edb749eb776da17e6a6926f576c 100644 (file)
@@ -19,7 +19,7 @@
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
-        Handles a toggle button click event.
+        Handles a wxEVT_COMMAND_TOGGLEBUTTON_CLICKED event.
     @endEventTable
 
     @library{wxcore}
     @endEventTable
 
     @library{wxcore}
@@ -28,7 +28,7 @@
 
     @see wxCheckBox, wxButton, wxBitmapToggleButton
 */
 
     @see wxCheckBox, wxButton, wxBitmapToggleButton
 */
-class wxToggleButton : public wxControl
+class wxToggleButton : public wxAnyButton
 {
 public:
     /**
 {
 public:
     /**
@@ -119,14 +119,14 @@ public:
 
     @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_TOGGLEBUTTON(id, func)}
 
     @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}
 */
     @endEventTable
 
     @library{wxcore}
     @category{ctrl}
     @appearance{bitmaptogglebutton.png}
 */
-class wxBitmapToggleButton : public wxControl
+class wxBitmapToggleButton : public wxToggleButton
 {
 public:
     /**
 {
 public:
     /**