]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/window.tex
changes wxFRAME_EX_CONTEXTHELP value to avoid clash with wxWS_EX_TRANSIENT
[wxWidgets.git] / docs / latex / wx / window.tex
index f35f9406a6cec39c1e600c1a8e2f1e314a0b4b60..1e27cc048bc60890f22d0e1751d68c68589b483d 100644 (file)
@@ -1602,7 +1602,9 @@ Most, but not all, windows respond to this event.
 
 \func{void}{OnSize}{\param{wxSizeEvent\& }{event}}
 
-Called when the window has been resized.
+Called when the window has been resized. This is not a virtual function; you should
+provide your own non-virtual OnSize function and direct size events to it using EVT\_SIZE
+in an event table definition.
 
 \wxheading{Parameters}
 
@@ -2062,6 +2064,16 @@ bits are:
 \twocolitem{\windowstyle{wxWS\_EX\_VALIDATE\_RECURSIVELY}}{TransferDataTo/FromWindow()
 and Validate() methods will recursively descend into all children of the
 window if it has this style flag set.}
+\twocolitem{\windowstyle{wxWS\_EX\_BLOCK\_EVENTS}}{Normally, the command
+events are propagared upwards to the window parent recursively until a handler
+for them is found. Using this style allows to prevent them from being
+propagated beyond this window. Notice that wxDialog has this style on by
+default for the reasons explained in the 
+\helpref{event processing overview}{eventprocessing}.}
+\twocolitem{\windowstyle{wxWS\_EX\_TRANSIENT}}{This can be used to prevent a
+window from being used as an implicit parent for the dialogs which were
+created without a parent. It is useful for the windows which can disappear at
+any moment as creating childs of such windows results in fatal problems.}
 \end{twocollist}
 
 \membersection{wxWindow::SetFocus}\label{wxwindowsetfocus}