diff options
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 0119799d2..cd3d39c67 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -196,6 +196,14 @@ checked_set (wxStaticText* widget, string value) } void +checked_set (wxStaticText* widget, wxString value) +{ + if (widget->GetLabel() != value) { + widget->SetLabel (value); + } +} + +void checked_set (wxCheckBox* widget, bool value) { if (widget->GetValue() != value) { |
