-
- new wxStaticText( this, -1, _T("This is text"), wxPoint( 20,50 ) );
-
- new wxCheckBox( this, -1, _T("This is a checkbox"), wxPoint( 20,70 ) );
+
+ new wxStaticText( this, wxID_ANY, _T("This is text"), wxPoint( 20,50 ) );
+
+ new wxCheckBox( this, wxID_ANY, _T("This is a checkbox"), wxPoint( 20,70 ) );