use wxCopyRectToRECT() instead of duplicating its code (patch 1707294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -207,10 +207,7 @@ wxRendererMSW::DrawComboBoxDropButton(wxWindow * WXUNUSED(win),
|
||||
int flags)
|
||||
{
|
||||
RECT r;
|
||||
r.left = rect.GetLeft();
|
||||
r.top = rect.GetTop();
|
||||
r.bottom = rect.y + rect.height;
|
||||
r.right = rect.x + rect.width;
|
||||
wxCopyRectToRECT(rect, r);
|
||||
|
||||
int style = DFCS_SCROLLCOMBOBOX;
|
||||
if ( flags & wxCONTROL_DISABLED )
|
||||
|
Reference in New Issue
Block a user