fix for SetSize was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -205,7 +205,7 @@ void wxComboBox::DoMoveWindow(int x, int y, int width, int height) {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxCoord wText = width - POPUPWIDTH;
|
wxCoord wText = width - POPUPWIDTH - MARGIN;
|
||||||
m_text->SetSize(0, 0, wText, height);
|
m_text->SetSize(0, 0, wText, height);
|
||||||
m_choice->SetSize(0 + wText + MARGIN, 0, POPUPWIDTH, -1);
|
m_choice->SetSize(0 + wText + MARGIN, 0, POPUPWIDTH, -1);
|
||||||
}
|
}
|
||||||
|
@@ -205,7 +205,7 @@ void wxComboBox::DoMoveWindow(int x, int y, int width, int height) {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxCoord wText = width - POPUPWIDTH;
|
wxCoord wText = width - POPUPWIDTH - MARGIN;
|
||||||
m_text->SetSize(0, 0, wText, height);
|
m_text->SetSize(0, 0, wText, height);
|
||||||
m_choice->SetSize(0 + wText + MARGIN, 0, POPUPWIDTH, -1);
|
m_choice->SetSize(0 + wText + MARGIN, 0, POPUPWIDTH, -1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user