Fix infinite sizing loop caused by 3b4ee5a0

Avoid the problems 3b4ee5a0 attempted to address in a much simpler way:
when a "size-allocate" is in progress, call gtk_widget_size_allocate()
directly, rather than deferring a call to gtk_widget_queue_resize().
See #17585
This commit is contained in:
Paul Cornett
2016-12-09 21:38:35 -08:00
parent 7122288416
commit d5681ee4a8
3 changed files with 52 additions and 62 deletions

View File

@@ -24,6 +24,8 @@ struct WXDLLIMPEXP_CORE wxPizza
void put(GtkWidget* widget, int x, int y, int width, int height);
void scroll(int dx, int dy);
void get_border(GtkBorder& border);
void size_allocate_child(
GtkWidget* child, int x, int y, int width, int height, int parent_width = -1);
GtkFixed m_fixed;
GList* m_children;