]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
With the fix in gtk/font.cpp and switching to an wxplicit wxBOLD, it
[wxWidgets.git] / src / os2 / window.cpp
index d88927fcaeb0533b66225a84de4f4ff3a4ddac70..4ab8890da9195b5c9b36bb49a192d794dcfe62fe 100644 (file)
@@ -2427,6 +2427,14 @@ bool wxWindowOS2::OS2ProcessMessage(
                                 pBtn->OS2Command(BN_CLICKED, 0 /* unused */);
                                 return TRUE;
                             }
+                            else if (!IsTopLevel())
+                            {
+                                //
+                                // if not a top level window, let parent
+                                // handle it
+                                //
+                                return FALSE;
+                            }
                             // else: but if it does not it makes sense to make
                             //       it work like a TAB - and that's what we do.
                             //       Note that Ctrl-Enter always works this way.