made the button of correct size again (Robert, why did you comment this out??)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
16bdba2cd2
commit
2b0ba7ee71
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ public:
|
|||
SetBitmapSelected(bmpPressed);
|
||||
SetBitmapDisabled(bmpDisabled);
|
||||
|
||||
// SetSize(bmpNormal.GetWidth(), bmpNormal.GetHeight());
|
||||
SetSize(bmpNormal.GetWidth(), bmpNormal.GetHeight());
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
@ -304,7 +304,7 @@ void wxComboControl::DoMoveWindow(int x, int y, int width, int height)
|
|||
|
||||
wxCoord wText = width - sizeBtn.x;
|
||||
m_text->SetSize(x, y, wText, height);
|
||||
m_btn->SetSize(x + wText, y, -1, height);
|
||||
m_btn->SetSize(x + wText, y, sizeBtn.x, height);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue