Don't use images for wxNotebook because of crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0d7fb283bb
commit
3f0fac91ab
@ -369,8 +369,7 @@ void wxNotebook::MacSetupTabs()
|
||||
SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag,
|
||||
sizeof( ControlTabInfoRec) , (char*) &info ) ;
|
||||
SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ;
|
||||
|
||||
#if TARGET_CARBON
|
||||
#if 0 // TARGET_CARBON
|
||||
if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 )
|
||||
{
|
||||
// tab controls only support very specific types of images, therefore we are doing an odyssee
|
||||
|
@ -369,8 +369,7 @@ void wxNotebook::MacSetupTabs()
|
||||
SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag,
|
||||
sizeof( ControlTabInfoRec) , (char*) &info ) ;
|
||||
SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ;
|
||||
|
||||
#if TARGET_CARBON
|
||||
#if 0 // TARGET_CARBON
|
||||
if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 )
|
||||
{
|
||||
// tab controls only support very specific types of images, therefore we are doing an odyssee
|
||||
|
Loading…
Reference in New Issue
Block a user