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:
@@ -312,7 +312,7 @@ void wxToolBarTool::ShowDropdown(GtkToggleButton* button)
|
|||||||
if (menu)
|
if (menu)
|
||||||
{
|
{
|
||||||
GtkAllocation alloc;
|
GtkAllocation alloc;
|
||||||
gtk_widget_set_allocation(GTK_WIDGET(button), &alloc);
|
gtk_widget_get_allocation(GTK_WIDGET(button), &alloc);
|
||||||
int x = alloc.x;
|
int x = alloc.x;
|
||||||
int y = alloc.y;
|
int y = alloc.y;
|
||||||
if (toolbar->HasFlag(wxTB_LEFT | wxTB_RIGHT))
|
if (toolbar->HasFlag(wxTB_LEFT | wxTB_RIGHT))
|
||||||
|
Reference in New Issue
Block a user