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:
@@ -369,8 +369,7 @@ void wxNotebook::MacSetupTabs()
|
|||||||
SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag,
|
SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag,
|
||||||
sizeof( ControlTabInfoRec) , (char*) &info ) ;
|
sizeof( ControlTabInfoRec) , (char*) &info ) ;
|
||||||
SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ;
|
SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ;
|
||||||
|
#if 0 // TARGET_CARBON
|
||||||
#if TARGET_CARBON
|
|
||||||
if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 )
|
if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 )
|
||||||
{
|
{
|
||||||
// tab controls only support very specific types of images, therefore we are doing an odyssee
|
// 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,
|
SetControlData( (ControlHandle) m_macControl, ii+1, kControlTabInfoTag,
|
||||||
sizeof( ControlTabInfoRec) , (char*) &info ) ;
|
sizeof( ControlTabInfoRec) , (char*) &info ) ;
|
||||||
SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ;
|
SetTabEnabled( (ControlHandle) m_macControl , ii+1 , true ) ;
|
||||||
|
#if 0 // TARGET_CARBON
|
||||||
#if TARGET_CARBON
|
|
||||||
if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 )
|
if ( GetImageList() && GetPageImage(ii) >= 0 && UMAGetSystemVersion() >= 0x1020 )
|
||||||
{
|
{
|
||||||
// tab controls only support very specific types of images, therefore we are doing an odyssee
|
// tab controls only support very specific types of images, therefore we are doing an odyssee
|
||||||
|
Reference in New Issue
Block a user