fix typo from r67326

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2011-04-06 17:02:28 +00:00
parent 02c9435466
commit 628e8d444c

View File

@@ -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))