From 2c9dad08b2f38b6d5705d8d5f1f96a9e506e9ceb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 20 Mar 2011 11:50:39 +0000 Subject: [PATCH] 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 --- src/osx/spinctrl_osx.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osx/spinctrl_osx.cpp b/src/osx/spinctrl_osx.cpp index aaba05cb43..7d207e68eb 100644 --- a/src/osx/spinctrl_osx.cpp +++ b/src/osx/spinctrl_osx.cpp @@ -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) ) {