Fixed some (out) typemaps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-26 15:22:43 +00:00
parent b3894f30e0
commit 3ecece7e04
28 changed files with 252 additions and 101 deletions

View File

@@ -366,6 +366,9 @@ public:
class wxMenuItem : public wxObject {
public:
// turn off this typemap
%typemap(out) wxMenuItem*;
wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_ANY,
const wxString& text = wxPyEmptyString,
const wxString& help = wxPyEmptyString,
@@ -373,6 +376,10 @@ public:
wxMenu* subMenu = NULL);
~wxMenuItem();
// Turn it back on again
%typemap(out) wxEvtHandler* { $result = wxPyMake_wxObject($1, $owner); }
// the menu we're in
wxMenu *GetMenu() const;
void SetMenu(wxMenu* menu);