]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo from r67326
authorPaul Cornett <paulcor@bullseye.com>
Wed, 6 Apr 2011 17:02:28 +0000 (17:02 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 6 Apr 2011 17:02:28 +0000 (17:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toolbar.cpp

index 2c2e60441b4d4f95cff5265ccc0b63d6386b8680..aeb1dff25172ee8db0b14984d4d1d16a0a56373f 100644 (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))