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:
@@ -384,8 +384,12 @@ gtk_myfixed_size_request (GtkWidget *widget,
|
||||
|
||||
myfixed = GTK_MYFIXED (widget);
|
||||
|
||||
/*
|
||||
requisition->width = 0;
|
||||
requisition->height = 0;
|
||||
*/
|
||||
requisition->width = widget->requisition.width;
|
||||
requisition->height = widget->requisition.height;
|
||||
|
||||
children = myfixed->children;
|
||||
while (children)
|
||||
@@ -415,7 +419,7 @@ gtk_myfixed_size_allocate (GtkWidget *widget,
|
||||
g_return_if_fail (allocation != NULL);
|
||||
|
||||
myfixed = GTK_MYFIXED (widget);
|
||||
|
||||
|
||||
widget->allocation = *allocation;
|
||||
#if (GTK_MINOR_VERSION > 0)
|
||||
if (myfixed->shadow_type == GTK_SHADOW_NONE)
|
||||
|
Reference in New Issue
Block a user