]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/menu.cpp
no real changes, just move wxMask::GetBitmap() to wxMask section
[wxWidgets.git] / src / gtk / menu.cpp
index 74ff3fde6969c916e9b00b613559cd91df4103a9..51e23212bc16754f336a61f5766c83273cdaad6d 100644 (file)
@@ -62,7 +62,8 @@ static bool IsMenuEventAllowed(wxMenu* menu)
         wxWindow* tlw = wxGetTopLevelParent(menu->GetWindow());
         if ( !tlw || !wxDynamicCast(tlw, wxDialog) )
         {
-            return true;
+            // This must be an event from a menu bar of one of the frames.
+            return false;
         }
     }