-// ----------------------------------------------------------------------------
-// wxTopLevelWindowMSW client size
-// ----------------------------------------------------------------------------
-
-void wxTopLevelWindowMSW::DoSetClientSize(int width, int height)
-{
- // call GetClientAreaOrigin() to take the toolbar into account
- wxPoint pt = GetClientAreaOrigin();
- width += pt.x;
- height += pt.y;
-
- wxWindow::DoSetClientSize(width, height);
-}
-
-void wxTopLevelWindowMSW::DoGetClientSize(int *x, int *y) const
-{
- wxWindow::DoGetClientSize(x, y);
-
- wxPoint pt = GetClientAreaOrigin();
-
- if ( x )
- *x -= pt.x;
-
- if ( y )
- *y -= pt.y;
-}
-