diff --git a/interface/wx/colordlg.h b/interface/wx/colordlg.h index d2c52f63dc..f7a2ce18d9 100644 --- a/interface/wx/colordlg.h +++ b/interface/wx/colordlg.h @@ -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()); });