DoSetClientSize omissions fixed; some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -711,7 +711,9 @@ void wxWindow::DoSetClientSize(int width, int height)
|
||||
{
|
||||
wxWindow *parent = GetParent();
|
||||
HWND hWnd = (HWND) GetHWND();
|
||||
HWND hParentWnd = (HWND) (HWND) parent->GetHWND();
|
||||
HWND hParentWnd = (HWND) 0;
|
||||
if (parent)
|
||||
hParentWnd = (HWND) parent->GetHWND();
|
||||
|
||||
RECT rect;
|
||||
::GetClientRect(hWnd, &rect);
|
||||
|
Reference in New Issue
Block a user