X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9d6f3a4730294521f45c227fed8628ecadb8460..8ec09aacc6d8a0ef8c8e3910c46258bc20f0734b:/wxPython/src/gtk/_core.py?ds=inline diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index 8fe0548368..c062a1c351 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -724,7 +724,6 @@ class Object(object): Object_swigregister = _core_.Object_swigregister Object_swigregister(Object) _wxPySetDictionary = _core_._wxPySetDictionary -_wxPyFixStockObjects = _core_._wxPyFixStockObjects cvar = _core_.cvar EmptyString = cvar.EmptyString @@ -9833,6 +9832,10 @@ class Menu(EvtHandler): """AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem""" return _core_.Menu_AppendMenu(*args, **kwargs) + def AppendSubMenu(*args, **kwargs): + """AppendSubMenu(self, Menu submenu, String text, String help=EmptyString) -> MenuItem""" + return _core_.Menu_AppendSubMenu(*args, **kwargs) + def AppendItem(*args, **kwargs): """AppendItem(self, MenuItem item) -> MenuItem""" return _core_.Menu_AppendItem(*args, **kwargs) @@ -12922,11 +12925,6 @@ from _windows import * from _controls import * from _misc import * - -# Fixup the stock objects since they can't be used yet. (They will be -# restored in wx.PyApp.OnInit.) -_core_._wxPyFixStockObjects() - #---------------------------------------------------------------------------- #----------------------------------------------------------------------------