git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45931
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- rect.left = prect->x;
- rect.top = prect->y;
- rect.right = prect->x + prect->width;
- rect.bottom = prect->y + prect->height;
+ wxCopyRectToRECT(*prect, rect);
const RECT *pRect;
if ( rect )
{
const RECT *pRect;
if ( rect )
{
- mswRect.left = rect->x;
- mswRect.top = rect->y;
- mswRect.right = rect->x + rect->width;
- mswRect.bottom = rect->y + rect->height;
-
+ wxCopyRectToRECT(*rect, mswRect);