diff --git a/src/osx/artmac.cpp b/src/osx/artmac.cpp index f5e459009d..2777353262 100644 --- a/src/osx/artmac.cpp +++ b/src/osx/artmac.cpp @@ -72,6 +72,7 @@ static wxIconBundle wxMacArtProvider_CreateIconBundle(const wxArtID& id) ART_MSGBOX(wxART_FOLDER, wxICON_FOLDER, folder) ART_MSGBOX(wxART_FOLDER_OPEN, wxICON_FOLDER_OPEN, folder_open) ART_MSGBOX(wxART_NORMAL_FILE, wxICON_NORMAL_FILE, deffile) + ART_MSGBOX(wxART_EXECUTABLE_FILE, wxICON_EXECUTABLE_FILE, exefile) ART_MSGBOX(wxART_CDROM, wxICON_CDROM, cdrom) ART_MSGBOX(wxART_FLOPPY, wxICON_FLOPPY, floppy) diff --git a/src/osx/carbon/icon.cpp b/src/osx/carbon/icon.cpp index af4c06aa0a..a28dc19090 100644 --- a/src/osx/carbon/icon.cpp +++ b/src/osx/carbon/icon.cpp @@ -203,6 +203,10 @@ bool wxIcon::LoadFile( { theId = kGenericDocumentIcon ; } + else if ( filename == wxT("wxICON_EXECUTABLE_FILE") ) + { + theId = kGenericApplicationIcon ; + } else if ( filename == wxT("wxICON_CDROM") ) { theId = kGenericCDROMIcon ;