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:
@@ -321,8 +321,6 @@ void wxControl::MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString l
|
|||||||
{
|
{
|
||||||
m_label = label ;
|
m_label = label ;
|
||||||
SetName(name);
|
SetName(name);
|
||||||
if ( &validator )
|
|
||||||
SetValidator(validator);
|
|
||||||
|
|
||||||
m_windowStyle = style;
|
m_windowStyle = style;
|
||||||
parent->AddChild(this);
|
parent->AddChild(this);
|
||||||
|
@@ -321,8 +321,6 @@ void wxControl::MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString l
|
|||||||
{
|
{
|
||||||
m_label = label ;
|
m_label = label ;
|
||||||
SetName(name);
|
SetName(name);
|
||||||
if ( &validator )
|
|
||||||
SetValidator(validator);
|
|
||||||
|
|
||||||
m_windowStyle = style;
|
m_windowStyle = style;
|
||||||
parent->AddChild(this);
|
parent->AddChild(this);
|
||||||
|
Reference in New Issue
Block a user