Soem corrections for SetSize changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-02-22 13:28:13 +00:00
parent bfc6fde4b1
commit 2de8030dbe
4 changed files with 10 additions and 10 deletions

View File

@@ -167,7 +167,7 @@ wxMDIParentFrame::~wxMDIParentFrame(void)
void wxMDIParentFrame::GetClientSize(int *x, int *y) const
{
RECT rect;
GetClientRect((HWND) GetHWND(), &rect);
::GetClientRect((HWND) GetHWND(), &rect);
int cwidth = rect.right;
int cheight = rect.bottom;
@@ -731,7 +731,7 @@ void wxMDIChildFrame::SetClientSize(int width, int height)
HWND hWnd = (HWND) GetHWND();
RECT rect;
GetClientRect(hWnd, &rect);
::GetClientRect(hWnd, &rect);
RECT rect2;
GetWindowRect(hWnd, &rect2);