]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't let SWIG see the wxTreeCtrl name anywhere so it will use the
authorRobin Dunn <robin@alldunn.com>
Fri, 14 Jul 2006 19:57:20 +0000 (19:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 14 Jul 2006 19:57:20 +0000 (19:57 +0000)
type_info for our wxPyTreeCtrl instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_notebook.i
wxPython/src/html.i

index 39bf218ea095c0842a06bb747be897ea77e0b246..e654aa9ffa922d960be3b14805e823c1e691fa7d 100644 (file)
@@ -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;
 
 };
 
index f272833ff8fa752a877653a0dc1311b6cfa55b3d..3212eb0620fd2d73904039c03f98f9bc34f15dcc 100644 (file)
@@ -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;
 
 };