]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/tools.py
implemented locating objects in gridbag sizer,
[wxWidgets.git] / wxPython / wx / tools / XRCed / tools.py
index 00f7103b1eefadf3c363a065fa3e93fab41c4d91..f13a9cbb57dc1d31e0184759800838d5f0bd37a7 100644 (file)
@@ -285,5 +285,7 @@ class Tools(wxPanel):
                 self.EnableGroup(GROUP_SIZERS)
                 if not (xxx.isSizer or xxx.parent and xxx.parent.isSizer):
                     self.EnableGroupItem(GROUP_SIZERS, ID_NEW.SPACER, False)
+            if xxx.__class__ == xxxFrame:
+                self.EnableGroupItem(GROUP_MENUS, ID_NEW.MENU_BAR)
         # Save state
         self.state = state