Corrected GTK2 creation of default font.
Removed ugly SET_STYLE_FONT code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -474,7 +474,7 @@ wxSize wxChoice::DoGetBestSize() const
|
||||
if ( ret.x < 80 )
|
||||
ret.x = 80;
|
||||
|
||||
ret.y = 16 + gdk_char_height(GET_STYLE_FONT( m_widget->style ), 'H' );
|
||||
ret.y = 16 + GetCharHeight();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user