X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1542ea396a625766c59d683adbb1d613c1344d50..abbc257086d3661a2343fae05579057951f2650c:/docs/latex/wx/frame.tex diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex index 6cbe7276e0..c42b8db335 100644 --- a/docs/latex/wx/frame.tex +++ b/docs/latex/wx/frame.tex @@ -56,6 +56,8 @@ you should use {\tt wxDEFAULT\_FRAME\_STYLE \& (wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the frames having this style (the dialogs don't have minimize nor maximize box by default)} +\twocolitem{\windowstyle{wxFRAME\_SHAPED}}{Windows with this style are + allowed to have their shape changed with the \helpref{SetShape}{wxframesetshape} method.} \end{twocollist} The default frame style is for normal, resizeable frames. To create a frame @@ -510,10 +512,10 @@ menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). -Under Windows, a call to \helpref{wxFrame::OnSize}{wxframeonsize} is generated, so be sure to initialize +Under Windows, a size event is generated, so be sure to initialize data members properly before calling {\bf SetMenuBar}. -Note that it is not possible to call this function twice for the same frame object. +Note that on some platforms, it is not possible to call this function twice for the same frame object. \wxheading{See also} @@ -521,7 +523,7 @@ Note that it is not possible to call this function twice for the same frame obje \membersection{wxFrame::SetShape}\label{wxframesetshape} -\func{bool}{SetShape}{\param{const wxRegion&}{ region}} +\func{bool}{SetShape}{\param{const wxRegion\&}{ region}} If the platform supports it, sets the shape of the window to that depicted by \it{region}. The system will not display or