]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/htmlhelp.i
fixed bug in AssignDir() which didn't always consider the argument as directory
[wxWidgets.git] / wxPython / src / htmlhelp.i
index 1143363f1525acaf8f92e57f568c72533c76cd22..6926522a590c93208fda522140abf5dd6f642a05 100644 (file)
@@ -116,6 +116,8 @@ public:
                    const wxString& title = wxEmptyString,
                    int style = wxHF_DEFAULTSTYLE, wxHtmlHelpData* data = NULL);
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+
     wxHtmlHelpData* GetData();
     void SetTitleFormat(const wxString& format);
     void Display(const wxString& x);
@@ -150,6 +152,8 @@ public:
     wxHtmlHelpController(int style = wxHF_DEFAULTSTYLE);
     ~wxHtmlHelpController();
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+
     void SetTitleFormat(const wxString& format);
     void SetTempDir(const wxString& path);
     bool AddBook(const wxString& book, int show_wait_msg = FALSE);