Trivially implemented DoDrawIcon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-03-12 12:29:21 +00:00
parent 4b2424bcad
commit 21689736a7
3 changed files with 85 additions and 0 deletions

View File

@@ -781,6 +781,14 @@ void wxWindowX11::DoSetClientSize(int width, int height)
wxCHECK_RET( xwindow, wxT("invalid window") );
XWindowChanges windowChanges;
windowChanges.width = width;
windowChanges.height = height;
windowChanges.stack_mode = 0;
int valueMask = CWWidth | CWHeight;
XConfigureWindow( wxGlobalDisplay(), xwindow, valueMask, &windowChanges );
#if 0
XWindowAttributes attr;
Status status = XGetWindowAttributes( wxGlobalDisplay(), xwindow, &attr );
wxCHECK_RET( status, wxT("invalid window attributes") );
@@ -797,6 +805,7 @@ void wxWindowX11::DoSetClientSize(int width, int height)
new_h = height;
DoMoveWindow( new_x, new_y, new_w, new_h );
#endif
}
// For implementation purposes - sometimes decorations make the client area