- /**
- This gets the size of the frame 'client area' in pixels.
-
- @param width
- Receives the client width in pixels.
- @param height
- Receives the client height in pixels.
-
- @remarks
-
- The client area is the area which may be drawn on by the programmer, excluding
- title bar, border, status bar, and toolbar if present.
-
- If you wish to manage your own toolbar (or perhaps you have more than one),
- provide an @b OnSize event handler. Call GetClientSize() to find how much space
- there is for your windows and don't forget to set the size and position of
- the MDI client window as well as your toolbar and other windows (but not the
- status bar).
-
- If you have set a toolbar with wxMDIParentFrame::SetToolbar(), the client size
- returned will have subtracted the toolbar height. However, the available positions
- for the client window and other windows of the frame do not start at zero - you
- must add the toolbar height.
-
- The position and size of the status bar and toolbar (if known to the frame) are
- always managed by wxMDIParentFrame, regardless of what behaviour is defined in
- your @b OnSize event handler. However, the client window position and size are always
- set in @b OnSize, so if you override this event handler, make sure you deal with the
- client window.
-
- You do not have to manage the size and position of MDI child windows, since they
- are managed automatically by the client window.
-
- @see GetToolBar(), SetToolBar(), wxMDIClientWindow
-
- @beginWxPythonOnly
- The wxPython version of this method takes no arguments and returns a tuple containing
- width and height.
- @endWxPythonOnly