diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index 4f3a694382..3722a1b34f 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -634,7 +634,7 @@ wxSize wxAuiGenericToolBarArt::GetToolSize( // and add some extra space in front of the drop down button if (item.HasDropDown()) { - int dropdownWidth = wnd->FromDIP(GetElementSize(wxAUI_TBART_DROPDOWN_SIZE)); + int dropdownWidth = GetElementSize(wxAUI_TBART_DROPDOWN_SIZE); width += dropdownWidth + wnd->FromDIP(4); }