- if ( filename == wxT("wxICON_INFORMATION") )
- {
- theId = kAlertNoteIcon ;
- }
- else if ( filename == wxT("wxICON_QUESTION") )
- {
- theId = kAlertCautionIcon ;
- }
- else if ( filename == wxT("wxICON_WARNING") )
- {
- theId = kAlertCautionIcon ;
- }
- else if ( filename == wxT("wxICON_ERROR") )
- {
- theId = kAlertStopIcon ;
- }
- else if ( filename == wxT("wxICON_FOLDER") )
- {
- theId = kGenericFolderIcon ;
- }
- else if ( filename == wxT("wxICON_FOLDER_OPEN") )
- {
- theId = kOpenFolderIcon ;
- }
- else if ( filename == wxT("wxICON_NORMAL_FILE") )
- {
- theId = kGenericDocumentIcon ;
- }
- else if ( filename == wxT("wxICON_CDROM") )
- {
- theId = kGenericCDROMIcon ;
- }
- else if ( filename == wxT("wxICON_FLOPPY") )
- {
- theId = kGenericFloppyIcon ;
- }
- else if ( filename == wxT("wxICON_HARDDISK") )
- {
- theId = kGenericHardDiskIcon ;
- }
- else if ( filename == wxT("wxICON_REMOVABLE") )
- {
- theId = kGenericRemovableMediaIcon ;
- }
- else if ( filename == wxT("wxICON_DELETE") )
- {
- theId = kTrashIcon ;
- }
- else if ( filename == wxT("wxICON_GO_BACK") )
- {
- theId = kBackwardArrowIcon ;
- }
- else if ( filename == wxT("wxICON_GO_FORWARD") )
- {
- theId = kForwardArrowIcon ;
- }
- else if ( filename == wxT("wxICON_GO_HOME") )
- {
- theId = kUserFolderIcon ;
- }
- else if ( filename == wxT("wxICON_HELP_FOLDER") )
- {
- theId = kHelpFolderIcon ;
- }
- else if ( filename == wxT("wxICON_HELP_SETTINGS") )
- {
- theId = kGenericFontIcon ;
- }
- else if ( filename == wxT("wxICON_HELP_PAGE") )
- {
- theId = kGenericDocumentIcon ;
- }
- else if ( filename == wxT("wxICON_PRINT") )