more about GetRect() (patch 1158730)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-03-21 23:49:46 +00:00
parent 28fad9e402
commit e6994168fe
2 changed files with 7 additions and 1 deletions

View File

@ -25,6 +25,12 @@ or different window (dialog item) sizes on different platforms without problems.
the standard font as well as the overall design of Motif widgets requires more space than
on Windows, the initial dialog size will automatically be bigger on Motif than on Windows.
Sizers may also be used to control the layout of custom drawn items on the window. The
Add, Insert, and Prepend functions return a pointer to the newly added wxSizerItem. Just
add empty space of the desired size and attributes, and then use the wxSizerItem::GetRect
method to determine where the drawing operations should take place.
\pythonnote{If you wish to create a sizer class in wxPython you should
derive the class from {\tt wxPySizer} in order to get Python-aware
capabilities for the various virtual methods.}

View File

@ -112,7 +112,7 @@ Get the ration item attribute.
\func{wxRect}{GetRect}{\void}
Get the rectangle of the item on the parent window.
Get the rectangle of the item on the parent window, excluding borders.
\membersection{wxSizerItem::GetSize}\label{wxsizeritemgetsize}