]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
added wxRegEx::GetMatchCount (patch 938995)
[wxWidgets.git] / src / gtk / combobox.cpp
index e6190604055dc272d8640b39b321693118940be1..43ed08ba4abbc08b5575ca19b6cec007496ad632 100644 (file)
@@ -779,7 +779,7 @@ wxSize wxComboBox::DoGetBestSize() const
         size_t count = GetCount();
         for ( size_t n = 0; n < count; n++ )
         {
-            GetTextExtent( GetString(n), &width, NULL, NULL, NULL, &m_font );
+            GetTextExtent( GetString(n), &width, NULL, NULL, NULL );
             if ( width > ret.x )
                 ret.x = width;
         }