X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..b7e94bd7ebc205ffba5e2729b0d465778d4e48c6:/interface/wx/tglbtn.h?ds=sidebyside diff --git a/interface/wx/tglbtn.h b/interface/wx/tglbtn.h index 4a679c7ee1..c6b09ad7a5 100644 --- a/interface/wx/tglbtn.h +++ b/interface/wx/tglbtn.h @@ -9,7 +9,6 @@ /** @class wxToggleButton - @wxheader{tglbtn.h} wxToggleButton is a button that stays pressed when clicked by the user. In other words, it is similar to wxCheckBox in @@ -34,7 +33,11 @@ class wxToggleButton : public wxControl { public: - //@{ + /** + Default constructor. + */ + wxToggleButton(); + /** Constructor, creating and showing a toggle button. @@ -59,15 +62,13 @@ public: @see Create(), wxValidator */ - wxToggleButton(); wxToggleButton(wxWindow* parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); - //@} + const wxString& name = wxCheckBoxNameStr); /** Destructor, destroying the toggle button. @@ -84,7 +85,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); + const wxString& name = wxCheckBoxNameStr); /** Gets the state of the toggle button. @@ -106,7 +107,6 @@ public: /** @class wxBitmapToggleButton - @wxheader{tglbtn.h} wxBitmapToggleButton is a wxToggleButton that contains a bitmap instead of text. @@ -125,20 +125,22 @@ public: class wxBitmapToggleButton : public wxControl { public: - //@{ + /** + Default constructor. + */ + wxBitmapToggleButton(); + /** Constructor, creating and showing a toggle button with the bitmap @e label. Internally calls Create(). */ - wxBitmapToggleButton(); wxBitmapToggleButton(wxWindow* parent, wxWindowID id, const wxBitmap& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); - //@} + const wxString& name = wxCheckBoxNameStr); /** Create method for two-step construction. @@ -149,7 +151,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); + const wxString& name = wxCheckBoxNameStr); /** Gets the state of the toggle button.