X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a46124968f1f9d2e707214fc4501cfc27abd0aa..69659fd770f615210efac4b4fa741b3ad6223616:/src/msw/renderer.cpp diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index e391d2e21d..4d7b390127 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -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 )