const wxString& label,
const wxPoint& pos,
const wxSize& size, long style,
+#if wxUSE_VALIDATORS
+# if defined(__VISAGECPP__)
+ const wxValidator* validator,
+# else
const wxValidator& validator,
+# endif
+#endif
const wxString& name)
{
SetName(name);
+#if wxUSE_VALIDATORS
SetValidator(validator);
+#endif
if (parent) parent->AddChild(this);
const wxBitmap *bitmap,
const wxPoint& pos,
const wxSize& size, long style,
+#if wxUSE_VALIDATORS
+# if defined(__VISAGECPP__)
+ const wxValidator* validator,
+# else
const wxValidator& validator,
+# endif
+#endif
const wxString& name)
{
SetName(name);
+#if wxUSE_VALIDATORS
SetValidator(validator);
+#endif
if (parent) parent->AddChild(this);
SetBackgroundColour(parent->GetBackgroundColour());