X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..7b3be6cb27e2c01f3cf4c14c9859d9fe0199b124:/docs/latex/wx/tcommdlg.tex diff --git a/docs/latex/wx/tcommdlg.tex b/docs/latex/wx/tcommdlg.tex index 6f6fc688da..be0e6febb6 100644 --- a/docs/latex/wx/tcommdlg.tex +++ b/docs/latex/wx/tcommdlg.tex @@ -55,7 +55,7 @@ the wxColourDialog class. Here is an excerpt, which sets various parameters of a wxColourData object, including a grey scale for the custom colours. If the user did not cancel the dialog, the application retrieves the selected colour and -uses it to set the background of a canvas. +uses it to set the background of a window. \begin{verbatim} wxColourData data; @@ -72,9 +72,9 @@ uses it to set the background of a canvas. wxColourData retData = dialog.GetColourData(); wxColour col = retData.GetColour(); wxBrush brush(col, wxSOLID); - myCanvas->SetBackground(brush); - myCanvas->Clear(); - myCanvas->Refresh(); + myWindow->SetBackground(brush); + myWindow->Clear(); + myWindow->Refresh(); } \end{verbatim} @@ -128,7 +128,7 @@ and colour for drawing text on a canvas. Here is an excerpt: wxFontData retData = dialog.GetFontData(); canvasFont = retData.GetChosenFont(); canvasTextColour = retData.GetColour(); - myCanvas->Refresh(); + myWindow->Refresh(); } \end{verbatim} @@ -208,5 +208,6 @@ a string or client data. Classes: \helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog} This dialog shows a list of choices, plus OK and (optionally) Cancel. The user can -select one or more of them. TODO. +select one or more of them. +