The validator is already set in CreateBase, doing it twice causes

problems for wxPython


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-01-29 02:43:35 +00:00
parent 64d6b78b91
commit e47e2832b8
2 changed files with 162 additions and 166 deletions

View File

@@ -321,8 +321,6 @@ void wxControl::MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString l
{
m_label = label ;
SetName(name);
if ( &validator )
SetValidator(validator);
m_windowStyle = style;
parent->AddChild(this);

View File

@@ -321,8 +321,6 @@ void wxControl::MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString l
{
m_label = label ;
SetName(name);
if ( &validator )
SetValidator(validator);
m_windowStyle = style;
parent->AddChild(this);