projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use the 'unix-like' check for Palm.
[wxWidgets.git]
/
src
/
univ
/
radiobox.cpp
diff --git
a/src/univ/radiobox.cpp
b/src/univ/radiobox.cpp
index a9e5d1a34c147386088b265d1e925e1766c21d1f..bb6aa6eda12af41d954e51e2b39cacf99f81c21a 100644
(file)
--- a/
src/univ/radiobox.cpp
+++ b/
src/univ/radiobox.cpp
@@
-329,11
+329,11
@@
bool wxRadioBox::Enable(int n, bool enable)
return m_buttons[n]->Enable(enable);
}
return m_buttons[n]->Enable(enable);
}
-
void
wxRadioBox::Show(int n, bool show)
+
bool
wxRadioBox::Show(int n, bool show)
{
{
- wxCHECK_
RET( IsValid(n)
, _T("invalid index in wxRadioBox::Show") );
+ wxCHECK_
MSG( IsValid(n), false
, _T("invalid index in wxRadioBox::Show") );
- m_buttons[n]->Show(show);
+
return
m_buttons[n]->Show(show);
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------