+ OSType theId = 0 ;
+
+ if ( resourceName == wxT("wxICON_INFORMATION") )
+ {
+ theId = kAlertNoteIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_QUESTION") )
+ {
+ theId = kAlertCautionIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_WARNING") )
+ {
+ theId = kAlertCautionIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_ERROR") )
+ {
+ theId = kAlertStopIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_FOLDER") )
+ {
+ theId = kGenericFolderIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_FOLDER_OPEN") )
+ {
+ theId = kOpenFolderIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_NORMAL_FILE") )
+ {
+ theId = kGenericDocumentIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_EXECUTABLE_FILE") )
+ {
+ theId = kGenericApplicationIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_CDROM") )
+ {
+ theId = kGenericCDROMIcon ;
+ }
+ else if ( resourceName == wxT("wxICON_FLOPPY") )