Fixed a bug which sometimes lead to windows
showing up at the size of 20x20 (default). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -584,11 +584,13 @@ void wxComboBox::OnSize( wxSizeEvent &event )
|
||||
{
|
||||
wxControl::OnSize( event );
|
||||
|
||||
/*
|
||||
int w = 21;
|
||||
gtk_widget_set_usize( GTK_COMBO(m_widget)->entry, m_width-w-1, m_height );
|
||||
|
||||
gtk_widget_set_uposition( GTK_COMBO(m_widget)->button, m_x+m_width-w, m_y );
|
||||
gtk_widget_set_usize( GTK_COMBO(m_widget)->button, w, m_height );
|
||||
*/
|
||||
}
|
||||
|
||||
void wxComboBox::ApplyWidgetStyle()
|
||||
|
Reference in New Issue
Block a user