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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user