adding native icon for executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
938fbc8f74
commit
9c4ae52877
@ -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)
|
||||
|
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user