Fix typo in wxColourDialog documentation
The code example in wxColourDialog documentation used a wrong type to create wxColourDialog instance. See #23793, #23794. (cherry picked from commit 547d49f68bc9241f693e85a4731689ee6d2ac189)
This commit is contained in:
parent
6b328645dc
commit
f5b2c1cc78
@ -27,7 +27,7 @@
|
||||
|
||||
wxColourData data;
|
||||
data.SetColour(initialColourToUse);
|
||||
wxColourData dlg(this, &data);
|
||||
wxColourDialog dlg(this, &data);
|
||||
dlg.Bind(wxEVT_COLOUR_CHANGED, [](wxColourDialogEvent& event) {
|
||||
Redraw(event.GetColour());
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user