Use wxID_ANY symbol for controls in propgrid sample.

This commit is contained in:
Artur Wieczorek
2015-05-30 20:19:00 +02:00
parent 65dee275f2
commit be401b4532
2 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ void FormMain::OnDumpList( wxCommandEvent& WXUNUSED(event) )
wxString text = wxT("This only tests that wxVariant related routines do not crash.");
wxString t;
wxDialog* dlg = new wxDialog(this,-1,wxT("wxVariant Test"),
wxDialog* dlg = new wxDialog(this,wxID_ANY,wxT("wxVariant Test"),
wxDefaultPosition,wxDefaultSize,wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
unsigned int i;
@@ -335,7 +335,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
wxArrayString errorMessages;
wxDialog* dlg = NULL;
dlg = new wxDialog(this,-1,wxT("wxPropertyGrid Regression Tests"),
dlg = new wxDialog(this,wxID_ANY,wxT("wxPropertyGrid Regression Tests"),
wxDefaultPosition,wxDefaultSize,wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
// multi-line text editor dialog