diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index bba95e6e8a..81b1d4cb4a 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -416,6 +416,9 @@ bool wxWindowMac::Create(wxWindowMac *parent, m_windowVariant = parent->GetWindowVariant() ; + m_hScrollBarAlwaysShown = + m_vScrollBarAlwaysShown = HasFlag(wxALWAYS_SHOW_SB); + if ( m_peer != kOSXNoWidgetImpl ) { SetPeer(wxWidgetImpl::CreateUserPane( this, parent, id, pos, size , style, GetExtraStyle() ));