git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5288
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
style = style | wxLC_LIST;
}
style = style | wxLC_LIST;
}
- bool ret = wxControl::Create( parent, id, pos, size, style, validator, name );
-
+ //
+ // FIXME BJ: as wxControl derives from wxWindow, a validator cannot be passed as parameter
+ // bool ret = wxControl::Create( parent, id, pos, size, style, validator, name );
+ bool ret = wxControl::Create( parent, id, pos, size, style, name );
+
if (style & wxSUNKEN_BORDER)
style -= wxSUNKEN_BORDER;
if (style & wxSUNKEN_BORDER)
style -= wxSUNKEN_BORDER;