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
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user