diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-09 14:15:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-09 14:15:38 +0200 |
| commit | 1ab78ed48d7b5a7930e0f6359d8e6ed3357a9be1 (patch) | |
| tree | 7d19972083c00df23c499518ccdef12401583e87 /src/wx | |
| parent | 1a7dc9ac997d7c103c07990db943d05d9bba4990 (diff) | |
Add get/set to CheckBox.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/check_box.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/check_box.h b/src/wx/check_box.h index 6e54ef411..da1d31499 100644 --- a/src/wx/check_box.h +++ b/src/wx/check_box.h @@ -37,6 +37,14 @@ public: void set_text (wxString text) override; wxString get_text () const override; + + bool get() const { + return GetValue(); + } + + void set(bool s) { + SetValue(s); + } }; |
