]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/htmlcell.h
Support using GetTextExtent() with empty string to get descent in wxOSX.
[wxWidgets.git] / include / wx / html / htmlcell.h
index c0d03c8a269d3ae175ca4e9bbd808ad0e9c63a41..c42299eb266df6b51b6b1f25ac5b73f67ad8d073 100644 (file)
@@ -345,9 +345,9 @@ protected:
     wxHtmlContainerCell *m_Parent;
 
     // dimensions of fragment (m_Descent is used to position text & images)
-    long m_Width, m_Height, m_Descent;
+    int m_Width, m_Height, m_Descent;
     // position where the fragment is drawn:
-    long m_PosX, m_PosY;
+    int m_PosX, m_PosY;
 
     // superscript/subscript/normal:
     wxHtmlScriptMode m_ScriptMode;