mac toplevel window added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -560,7 +560,11 @@ pascal Boolean CrossPlatformFilterCallback (
|
||||
if (theItem->descriptorType == typeFSS && !theInfo->isFolder)
|
||||
{
|
||||
FSSpec spec;
|
||||
memcpy( &spec , *theItem->dataHandle , sizeof(FSSpec) ) ;
|
||||
#if TARGET_CARBON
|
||||
::AEGetDescData(theItem, &spec, sizeof(FSSpec) ) ;
|
||||
#else
|
||||
memcpy( &spec , (*theItem->dataHandle) , sizeof(FSSpec) ) ;
|
||||
#endif
|
||||
display = CheckFile( spec.name , theInfo->fileAndFolder.fileInfo.finderInfo.fdType , data ) ;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user