]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/window.tex
Changes to ProjGen for new sample filenames
[wxWidgets.git] / docs / latex / wx / window.tex
index d1f4b13facf91d16832a91f4e2ca3e8837cf2b7f..424cc23d72c1d8420e45036aaec93c3f6ce0175f 100644 (file)
@@ -528,12 +528,6 @@ implements the following methods:\par
 
 Returns a pointer to the window's layout constraints, or NULL if there are none.
 
-\membersection{wxWindow::GetDefaultItem}\label{wxwindowgetdefaultitem}
-
-\constfunc{wxButton*}{GetDefaultItem}{\void}
-
-Returns a pointer to the button which is the default for this window, or NULL.
-
 \membersection{wxWindow::GetDropTarget}\label{wxwindowgetdroptarget}
 
 \constfunc{wxDropTarget*}{GetDropTarget}{\void}
@@ -1409,9 +1403,12 @@ Sent to the event handler when the window must be refreshed.
 
 \wxheading{Remarks}
 
+
+
 Use the EVT\_PAINT macro in an event table definition to intercept paint events.
 
-In a paint event handler, the application should always create a \helpref{wxPaintDC}{wxpaintdc} object.
+Note that In a paint event handler, the application must {\it always} create a \helpref{wxPaintDC}{wxpaintdc} object,
+even if you do not use it. Otherwise, under MS Windows, refreshing for this and other windows will go wrong.
 
 For example: