Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: eranon on August 13, 2012, 01:12:09 pm

Title: validator field in wxSmith
Post by: eranon on August 13, 2012, 01:12:09 pm
Hello,

I've seen there's a new field in the control properties shown by wxSmith : validator. The changelog says it's to allow to indicate a no-default wxValidator... But what's the syntax to fill-in this field.

Should I enter the entire wxValidator declaration as I would done manually in code, like :

Code
wxTextValidator(wxFILTER_ALPHA, &m_string)

or is there a special, simplified, syntax here (for example, just indicate the parameters w/o wxTextValidator() itself)?

--
EDIT : OK, it takes full call (tried from field and seen in code)