]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/window.tex
Applied patch [ 1339764 ] Add wxImage::ConvertToGreyscale
[wxWidgets.git] / docs / latex / wx / window.tex
index 6f954a2a1e4da9b706db2f17a1701925e8cfbfa4..115cb7db0ace6c5a8db0fd5b732bfc1c8475a846 100644 (file)
@@ -355,7 +355,7 @@ Usually it is only used with the top level windows (wxFrame and wxDialog
 classes) as the others are not supposed to have any special OnClose() logic.
 
 The close handler should check whether the window is being deleted forcibly,
-using \helpref{wxCloseEvent::GetForce}{wxcloseeventgetforce}, in which case it
+using \helpref{wxCloseEvent::CanVeto}{wxcloseeventcanveto}, in which case it
 should destroy the window using \helpref{wxWindow::Destroy}{wxwindowdestroy}.
 
 {\it Note} that calling Close does not guarantee that the window will be
@@ -2760,6 +2760,12 @@ use \helpref{SetOwnFont}{wxwindowsetownfont} instead in this case and
 see \helpref{InheritAttributes}{wxwindowinheritattributes} for more
 explanations.
 
+Please notice that the given font is \emph{not} automatically used for 
+\helpref{wxPaintDC}{wxpaintdc} objects associated with this window, you need to
+call \helpref{wxDC::SetFont()}{wxdcsetfont} too. However this font is used by
+any standard controls for drawing their text as well as by 
+\helpref{wxWindow::GetTextExtent()}{wxwindowgettextextent}.
+
 \wxheading{Parameters}
 
 \docparam{font}{Font to associate with this window, pass