/////////////////////////////////////////////////////////////////////////////
-// Name: src/osx/carbon/scrolbar.cpp
+// Name: src/osx/scrolbar_osx.cpp
// Purpose: wxScrollBar
// Author: Stefan Csomor
// Modified by:
long style,
const wxValidator& validator,
const wxString& name )
-{
- m_macIsUserPane = false;
-
+{
+ DontCreatePeer();
+
if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )
return false;