]> git.saurik.com Git - wxWidgets.git/commitdiff
Add GetMaxTotalWidth
authorRobin Dunn <robin@alldunn.com>
Thu, 25 Mar 2004 00:46:55 +0000 (00:46 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 25 Mar 2004 00:46:55 +0000 (00:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/html.i

index b3c3a0c6ed87cad56ff8865181e351aed22b43af..5a8992e0eae3f17ebf1429b47b4fd2fcfef0dbdf 100644 (file)
@@ -487,6 +487,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);