X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..7d001b19efc61f309467d9cd24dd17d3563fa971:/src/osx/spinbutt_osx.cpp?ds=sidebyside diff --git a/src/osx/spinbutt_osx.cpp b/src/osx/spinbutt_osx.cpp index 92bc682b9a..b8ef24b732 100644 --- a/src/osx/spinbutt_osx.cpp +++ b/src/osx/spinbutt_osx.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: spinbutt.cpp +// Name: src/osx/spinbutt_osx.cpp // Purpose: wxSpinButton // Author: Stefan Csomor // Modified by: @@ -25,9 +25,8 @@ wxSpinButton::wxSpinButton() bool wxSpinButton::Create( wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) -{ - m_macIsUserPane = false; - +{ + DontCreatePeer(); if ( !wxSpinButtonBase::Create( parent, id, pos, size, style, wxDefaultValidator, name ) ) return false;