- if ( !wxDialog::Create(parent, -1, wxT("Colour"),
- wxPoint(0, 0), wxSize(900, 900),
- wxDEFAULT_DIALOG_STYLE | wxDIALOG_MODAL) )
- return FALSE;
+ if ( !wxDialog::Create(parent, wxID_ANY, _("Choose colour"),
+ wxPoint(0, 0), wxSize(900, 900)) )
+ return false;