From 8d027e141c7424f00be11317ddc756f5e5010c68 Mon Sep 17 00:00:00 2001 From: Tim Kosse Date: Sat, 14 Jun 2014 20:22:51 +0000 Subject: [PATCH] Remove the unused anonymous function OffsetWindow to fix a compiler warning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/msgdlg.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index 02da8a94d8..1ad42ad427 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -132,19 +132,6 @@ void MoveWindowToScreenRect(HWND hwnd, RECT rc) SetWindowRect(hwnd, rc); } -// helper of AdjustButtonLabels(): move the given window by dx -// -// works for both child and top level windows -void OffsetWindow(HWND hwnd, int dx) -{ - RECT rc = wxGetWindowRect(hwnd); - - rc.left += dx; - rc.right += dx; - - MoveWindowToScreenRect(hwnd, rc); -} - } // anonymous namespace /* static */