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:
Robert Roebling
1999-05-04 15:54:49 +00:00
parent 5549fa6559
commit 69cdfbf7f8
8 changed files with 62 additions and 46 deletions

View File

@@ -447,8 +447,10 @@ gtk_myfixed_size_allocate (GtkWidget *widget,
{
child = children->data;
children = children->next;
if (GTK_WIDGET_VISIBLE (child->widget))
/* please look at the text in wxWindow::DoSetSize() on why the
test GTK_WIDGET_REALIZED() has to be here */
if (GTK_WIDGET_VISIBLE (child->widget) && GTK_WIDGET_REALIZED(child->widget) )
{
child_allocation.x = child->x;
child_allocation.y = child->y;