]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_dirctrl.i
warning fix
[wxWidgets.git] / wxPython / src / _dirctrl.i
index 08921efef113cd6df0d7fffff063a897215bd18e..79a2d72a2af9e651ebfba0a3ec66405b1ba43a09 100644 (file)
@@ -54,6 +54,8 @@ public:
 
 
 
+MustHaveApp(wxGenericDirCtrl);
+
 class wxGenericDirCtrl: public wxControl
 {
 public:
@@ -68,7 +70,7 @@ public:
                      const wxString& filter = wxPyEmptyString,
                      int defaultFilter = 0,
                      const wxString& name = wxPyTreeCtrlNameStr);
-    %name(PreGenericDirCtrl)wxGenericDirCtrl();
+    %RenameCtor(PreGenericDirCtrl, wxGenericDirCtrl());
 
 
     bool Create(wxWindow *parent, const wxWindowID id = -1,
@@ -136,6 +138,8 @@ leaf), done is set to True.
 
 
 
+MustHaveApp(wxDirFilterListCtrl);
+
 class wxDirFilterListCtrl: public wxChoice
 {
 public:
@@ -146,7 +150,7 @@ public:
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = 0);
-    %name(PreDirFilterListCtrl)wxDirFilterListCtrl();
+    %RenameCtor(PreDirFilterListCtrl, wxDirFilterListCtrl());
 
     bool Create(wxGenericDirCtrl* parent, const wxWindowID id = -1,
               const wxPoint& pos = wxDefaultPosition,