+%extend wxAuiMDIParentFrame {
+ %typemap(out) wxAuiNotebook* { $result = wxPyMake_wxObject($1, $owner); }
+ %typemap(out) wxAuiMDIChildFrame* { $result = wxPyMake_wxObject($1, $owner); }
+ %typemap(out) wxAuiMDIClientWindow* { $result = wxPyMake_wxObject($1, $owner); }
+
+ %rename(GetNotebook) _GetNotebook;
+ %rename(GetActiveChild) _GetActiveChild;
+ %rename(GetClientWindow) _GetClientWindow;
+
+ wxAuiNotebook* _GetNotebook() const
+ {
+ return self->GetNotebook();
+ }
+
+ wxAuiMDIChildFrame* _GetActiveChild() const
+ {
+ return self->GetActiveChild();
+ }
+
+ wxAuiMDIClientWindow* _GetClientWindow() const
+ {
+ return self->GetClientWindow();
+ }
+
+ %typemap(out) wxAuiNotebook*;
+ %typemap(out) wxAuiMDIChildFrame*;
+ %typemap(out) wxAuiMDIClientWindow*;
+}
+
+