Implement wxFileType::GetIcon on Mac
|Reported by:||wordtech||Owned by:||csomor|
From the wxWidgets documents from SVN:
bool GetIcon(wxIconLocation * iconLoc)
If the function returns true, the iconLoc is filled with the location of the icon for this MIME type. A wxIcon may be created from iconLoc later.
Windows: The function returns the icon shown by Explorer for the files of the specified type.
Mac: This function is not implemented and always returns false.
Unix: MIME manager gathers information about icons from GNOME and KDE settings and thus GetIconâ€™s success depends on availability of these desktop environments."
Implementing this method on OS X would allow wxWidgets applications to display Mac icons natively, which would greatly enhance the look-and-feel of wxWidgets apps on the Mac. At present most wxWidgets applications (including wxWidgets code samples) that implement such features as a directory browser or other view of the file system use generic icons (folders/documents/etc.) and these do not look native.
Change History (6)
comment:2 Changed 8 years ago by wojdyr
- Component set to wxMac
- Keywords wxFileType added
- Type changed from defect to enhancement
comment:4 Changed 16 months ago by vadz
- Resolution set to outdated
- Status changed from confirmed to closed