From: Stefan Csomor Date: Thu, 27 Feb 2003 10:18:16 +0000 (+0000) Subject: fix for SetSize was missing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7854746ec18bbab55ff8c8b54cc721f6fedb2a71 fix for SetSize was missing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index 494f688921..2e68206c42 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -205,7 +205,7 @@ void wxComboBox::DoMoveWindow(int x, int y, int width, int height) { } else { - wxCoord wText = width - POPUPWIDTH; + wxCoord wText = width - POPUPWIDTH - MARGIN; m_text->SetSize(0, 0, wText, height); m_choice->SetSize(0 + wText + MARGIN, 0, POPUPWIDTH, -1); } diff --git a/src/mac/combobox.cpp b/src/mac/combobox.cpp index 494f688921..2e68206c42 100644 --- a/src/mac/combobox.cpp +++ b/src/mac/combobox.cpp @@ -205,7 +205,7 @@ void wxComboBox::DoMoveWindow(int x, int y, int width, int height) { } else { - wxCoord wText = width - POPUPWIDTH; + wxCoord wText = width - POPUPWIDTH - MARGIN; m_text->SetSize(0, 0, wText, height); m_choice->SetSize(0 + wText + MARGIN, 0, POPUPWIDTH, -1); }