]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/html.i
Patches from KevinO that work around issues where the widget isn't
[wxWidgets.git] / wxPython / src / html.i
index b3c3a0c6ed87cad56ff8865181e351aed22b43af..d167819a5f4f42aab6671c6baa25138854504337 100644 (file)
@@ -29,7 +29,8 @@
 //---------------------------------------------------------------------------
 
 %import windows.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__docfilter__ }
 
 %include _html_rename.i
 
@@ -487,6 +488,11 @@ public:
     int GetWidth();
     int GetHeight();
     int GetDescent();
+
+    // Returns the maximum possible length of the cell.
+    // Call Layout at least once before using GetMaxTotalWidth()
+    int GetMaxTotalWidth() const;
+   
     const wxString& GetId() const;
     void SetId(const wxString& id);
     wxHtmlLinkInfo* GetLink(int x = 0, int y = 0);