projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hand-apply 077d2abb480a883119783db3f957f175e22e543b from master; stop more flickering...
[dcpomatic.git]
/
src
/
wx
/
wx_util.cc
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 0119799d26aaa3d0c8ff17dde466169877d6fd78..cd3d39c67d129ddd05967fd2cf3b522d75c418d9 100644
(file)
--- a/
src/wx/wx_util.cc
+++ b/
src/wx/wx_util.cc
@@
-195,6
+195,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)
{