projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better sorting example and better default
[wxWidgets.git]
/
src
/
motif
/
checklst.cpp
diff --git
a/src/motif/checklst.cpp
b/src/motif/checklst.cpp
index ea21e7e19263a2ee00dfb436ace47dbce04876a4..0205216a2b007529c53d71fbc2d68b24143bc323 100644
(file)
--- a/
src/motif/checklst.cpp
+++ b/
src/motif/checklst.cpp
@@
-134,7
+134,7
@@
void wxCheckListBox::Check(unsigned int uiIndex, bool bCheck)
void wxCheckListBox::DoToggleItem( int n, int x )
{
- if( x < 23 )
+ if( x
> 0 && x
< 23 )
{
wxString label = wxListBox::GetString(n);
label[1u] = (!::IsChecked(label)) ? checkChar : uncheckChar;