Added accessor for the main window in generic wxListCtrl. In wxMSW

just returns self.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-08-12 19:17:43 +00:00
parent 3fce70fbf5
commit 6af85fcd90
3 changed files with 49 additions and 0 deletions

View File

@@ -740,6 +740,17 @@ public:
return self->SortItems(wxPyListCtrl_SortItems, (long)func);
}
}
%addmethods {
wxWindow* GetMainWindow() {
#ifdef __WXMSW__
return self;
#else
return (wxWindow*)m_mainWin;
#endif
}
}
};