diff --git a/wxPython/src/html.i b/wxPython/src/html.i
index b3c3a0c6ed..5a8992e0ea 100644
--- a/wxPython/src/html.i
+++ b/wxPython/src/html.i
@@ -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);