X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..9e9574fe45b176ee74bba8fad7574cf9906145d1:/src/osx/scrolbar_osx.cpp?ds=inline diff --git a/src/osx/scrolbar_osx.cpp b/src/osx/scrolbar_osx.cpp index eb324b9e7a..3d6d8f2961 100644 --- a/src/osx/scrolbar_osx.cpp +++ b/src/osx/scrolbar_osx.cpp @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/carbon/scrolbar.cpp +// Name: src/osx/scrolbar_osx.cpp // Purpose: wxScrollBar // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -34,9 +33,9 @@ bool wxScrollBar::Create( wxWindow *parent, long style, const wxValidator& validator, const wxString& name ) -{ - m_macIsUserPane = false; - +{ + DontCreatePeer(); + if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) ) return false;