projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VC 7.1 warning fix
[wxWidgets.git]
/
src
/
gtk
/
checkbox.cpp
diff --git
a/src/gtk/checkbox.cpp
b/src/gtk/checkbox.cpp
index c49c46ccff7f50aa87145e35bf9fc261cfdbdab1..fb6cc16c42240e068f141ca7763061784355a5fc 100644
(file)
--- a/
src/gtk/checkbox.cpp
+++ b/
src/gtk/checkbox.cpp
@@
-220,7
+220,8
@@
void wxCheckBox::OnInternalIdle()
}
}
- UpdateWindowUI();
+ if (wxUpdateUIEvent::CanUpdate(this))
+ UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
}
wxSize wxCheckBox::DoGetBestSize() const