projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OS/2 updates for statusbar processing and easier VA debugging
[wxWidgets.git]
/
src
/
gtk1
/
spinctrl.cpp
diff --git
a/src/gtk1/spinctrl.cpp
b/src/gtk1/spinctrl.cpp
index d5efca072e8da36ac9a2dad5d5231db6b127ee6f..db68c07d703098e78441398aa36108ad5387714e 100644
(file)
--- a/
src/gtk1/spinctrl.cpp
+++ b/
src/gtk1/spinctrl.cpp
@@
-222,7
+222,7
@@
void wxSpinCtrl::OnChar( wxKeyEvent &event )
if (event.KeyCode() == WXK_RETURN)
{
wxWindow *top_frame = m_parent;
if (event.KeyCode() == WXK_RETURN)
{
wxWindow *top_frame = m_parent;
- while (top_frame->GetParent() && !(top_frame->GetParent()->
m_isFrame
))
+ while (top_frame->GetParent() && !(top_frame->GetParent()->
IsTopLevel()
))
top_frame = top_frame->GetParent();
GtkWindow *window = GTK_WINDOW(top_frame->m_widget);
top_frame = top_frame->GetParent();
GtkWindow *window = GTK_WINDOW(top_frame->m_widget);