From: Paul Cornett Date: Wed, 6 Apr 2011 17:02:28 +0000 (+0000) Subject: fix typo from r67326 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/628e8d444cd4c2a1d90b99c13931286b27fa7304 fix typo from r67326 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/toolbar.cpp b/src/gtk/toolbar.cpp index 2c2e60441b..aeb1dff251 100644 --- a/src/gtk/toolbar.cpp +++ b/src/gtk/toolbar.cpp @@ -312,7 +312,7 @@ void wxToolBarTool::ShowDropdown(GtkToggleButton* button) if (menu) { GtkAllocation alloc; - gtk_widget_set_allocation(GTK_WIDGET(button), &alloc); + gtk_widget_get_allocation(GTK_WIDGET(button), &alloc); int x = alloc.x; int y = alloc.y; if (toolbar->HasFlag(wxTB_LEFT | wxTB_RIGHT))