]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
don't define functions unused under CE when compiling for it (avoids warnings)
[wxWidgets.git] / src / gtk / 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;
         }