class wxPyApp : public wxEvtHandler {
public:
- %pythonAppend wxPyApp
- "self._setCallbackInfo(self, PyApp, False)
- self._setOORInfo(self, False)";
+ %pythonAppend wxPyApp "self._setOORInfo(self, False);" setCallbackInfo(PyApp)
%typemap(out) wxPyApp*; // turn off this typemap
DocStr(wxPyApp,
%typemap(out) wxPyApp* { $result = wxPyMake_wxObject($1, $owner); }
- void _setCallbackInfo(PyObject* self, PyObject* _class, bool incref);
+ void _setCallbackInfo(PyObject* self, PyObject* _class, bool incref=false);
DocDeclStr(
"Get the current OnAssert behaviour setting.", "");
- static bool GetMacSupportPCMenuShortcuts();
+ static bool GetMacSupportPCMenuShortcuts(); // TODO, deprecate this
static long GetMacAboutMenuItemId();
static long GetMacPreferencesMenuItemId();
static long GetMacExitMenuItemId();
static wxString GetMacHelpMenuTitleName();
- static void SetMacSupportPCMenuShortcuts(bool val);
+ static void SetMacSupportPCMenuShortcuts(bool val); // TODO, deprecate this
static void SetMacAboutMenuItemId(long val);
static void SetMacPreferencesMenuItemId(long val);
static void SetMacExitMenuItemId(long val);