Found a few situations where the most recent
corrections crashed. Changed default size of wxComboBox to what seems to be the only value the arrow button likes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -708,9 +708,6 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height
|
||||
int client_w = m_width - 2*m_miniEdge;
|
||||
int client_h = m_height - client_area_y_offset- 2*m_miniEdge - m_miniTitle;
|
||||
gtk_widget_set_usize( m_wxwindow, client_w, client_h );
|
||||
GtkAllocation alloc;
|
||||
alloc.x = client_x; alloc.y = client_y; alloc.width = client_w; alloc.height = client_h;
|
||||
gtk_widget_size_allocate( m_wxwindow, &alloc );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user