initial creation invisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,7 +49,7 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
|
||||
MacPreControlCreate( parent , id , wxEmptyString , pos , size ,style, validator , name , &bounds , title ) ;
|
||||
|
||||
m_macControl = ::NewControl(MAC_WXHWND(parent->MacGetRootWindow()) ,
|
||||
&bounds , title , true , 0 , 0 , 100,
|
||||
&bounds , title , false , 0 , 0 , 100,
|
||||
kControlScrollBarLiveProc , (long) this) ;
|
||||
|
||||
wxASSERT_MSG( (ControlHandle) m_macControl != NULL , wxT("No valid mac control") ) ;
|
||||
|
@@ -49,7 +49,7 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
|
||||
MacPreControlCreate( parent , id , wxEmptyString , pos , size ,style, validator , name , &bounds , title ) ;
|
||||
|
||||
m_macControl = ::NewControl(MAC_WXHWND(parent->MacGetRootWindow()) ,
|
||||
&bounds , title , true , 0 , 0 , 100,
|
||||
&bounds , title , false , 0 , 0 , 100,
|
||||
kControlScrollBarLiveProc , (long) this) ;
|
||||
|
||||
wxASSERT_MSG( (ControlHandle) m_macControl != NULL , wxT("No valid mac control") ) ;
|
||||
|
Reference in New Issue
Block a user