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;
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}
wxFontData retData = dialog.GetFontData();
canvasFont = retData.GetChosenFont();
canvasTextColour = retData.GetColour();
- myCanvas->Refresh();
+ myWindow->Refresh();
}
\end{verbatim}
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.
+