- flexgridsizer->Add(new wxTextCtrl(this, VALIDATE_TEXT2, wxEmptyString,
- wxDefaultPosition, wxDefaultSize, 0, textVal),
- 1, wxGROW);
+ wxTextCtrl* txt2 =
+ new wxTextCtrl(this, VALIDATE_TEXT2, wxEmptyString,
+ wxDefaultPosition, wxDefaultSize, 0, textVal);
+ txt2->SetToolTip("uses wxTextValidator with wxFILTER_EMPTY|wxFILTER_EXCLUDE_LIST (to exclude 'bcwyz')");
+ flexgridsizer->Add(txt2, 1, wxGROW);