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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user