Author Topic: validator field in wxSmith  (Read 2291 times)

Offline eranon

  • Almost regular
  • **
  • Posts: 180
validator field in wxSmith
« 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)
« Last Edit: August 13, 2012, 02:36:48 pm by eanon »
[Independent dev. - wxWidgets 3.0.0 under "Win 7 Pro 64-bit, C::B SVN 9435 & wxSmith, TDM64-GCC 4.7 & MSVC9" + "OS X 10.8, FSF GCC 4.7 & C::B SVN 8909"]