Don't let SWIG see the wxTreeCtrl name anywhere so it will use the
type_info for our wxPyTreeCtrl instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -529,7 +529,7 @@ public:
|
||||
int GetPageParent(size_t pos) const;
|
||||
|
||||
// the tree control we use for showing the pages index tree
|
||||
wxTreeCtrl* GetTreeCtrl() const;
|
||||
wxPyTreeCtrl* GetTreeCtrl() const;
|
||||
|
||||
};
|
||||
|
||||
|
@@ -1373,6 +1373,9 @@ enum {
|
||||
};
|
||||
|
||||
|
||||
%{
|
||||
typedef wxTreeCtrl wxPyTreeCtrl;
|
||||
%}
|
||||
|
||||
MustHaveApp(wxHtmlHelpWindow);
|
||||
|
||||
@@ -1464,7 +1467,7 @@ public:
|
||||
wxHtmlHelpFrameCfg& GetCfgData();
|
||||
|
||||
// Gets the tree control
|
||||
wxTreeCtrl *GetTreeCtrl() const;
|
||||
wxPyTreeCtrl *GetTreeCtrl() const;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user