Various changes needed to get up to date with current CVS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-30 21:04:25 +00:00
parent 3c623cf7d9
commit 7ea515abfb
10 changed files with 276 additions and 121 deletions

View File

@@ -318,6 +318,20 @@ public:
//----------------------------------------------------------------------
enum {
wxCHK_2STATE,
wxCHK_3STATE,
wxCHK_ALLOW_3RD_STATE_FOR_USER,
};
enum wxCheckBoxState
{
wxCHK_UNCHECKED,
wxCHK_CHECKED,
wxCHK_UNDETERMINED /* 3-state checkbox only */
};
class wxCheckBox : public wxControl {
public:
wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label,
@@ -341,6 +355,10 @@ public:
bool GetValue();
bool IsChecked();
void SetValue(const bool state);
wxCheckBoxState Get3StateValue() const;
void Set3StateValue(wxCheckBoxState state);
bool Is3State() const;
bool Is3rdStateAllowedForUser() const;
};
//----------------------------------------------------------------------