]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
set device origin when drawing on a frame in order to not overwrite the menu/toolbar...
[wxWidgets.git] / src / gtk1 / choice.cpp
index 6eef00f62464aaa8624cee8ed764329769eeadde..97eb8e120328d6edf4420f2c40eb70f1774fd69e 100644 (file)
@@ -542,7 +542,7 @@ wxSize wxChoice::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;
         }