]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/ldef/extldef.h
added wxGetMultiChoice() (which refuses to work for some reason - will fix
[wxWidgets.git] / src / mac / ldef / extldef.h
index 683219907daebbe2602fd2a00fd2aebbd5dad4ce..8daa77eb88452c813c9c9be2c15555233361527e 100644 (file)
@@ -53,7 +53,9 @@ static void DisposeExtLDEFInfo( ListHandle lh)
        ExtLDEFInfo* info = (ExtLDEFInfo* )  (**lh).refCon ;
        if ( info )
        {
+       #if !TARGET_CARBON
                DisposeRoutineDescriptor( (RoutineDescriptor*) info->drawProc ) ;
+       #endif
                free( (void*) (**lh).refCon ) ;
        }
 }