diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-29 15:22:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-29 15:22:29 +0100 |
| commit | d43aadb0bbb5cbdebbc5c95cb3065ed0aa49296a (patch) | |
| tree | bede96d010ba2c10a368a8a4d02ae44db6896cbf /src/wx/wx_util.cc | |
| parent | 56cdff7fbb1f9c55f9ad3076fcb885e4005189ce (diff) | |
Hand-apply 077d2abb480a883119783db3f957f175e22e543b from master; stop more flickering when dragging in the timeline in OS X.
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) { |
