spinctrl on mac is generic, so the peer is a userpane, fixes #13058

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-03-20 11:50:39 +00:00
parent bed867e3f9
commit 2c9dad08b2

View File

@ -229,8 +229,6 @@ bool wxSpinCtrl::Create(wxWindow *parent,
int initial,
const wxString& name)
{
DontCreatePeer();
if ( !wxControl::Create(parent, id, pos, size, style,
wxDefaultValidator, name) )
{