User forums > Using Code::Blocks

validator field in wxSmith

(1/1)

eranon:
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)
--- End code ---

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)

Navigation

[0] Message Index

Go to full version