adding mimetype patch, closes #12072

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-06-21 16:36:45 +00:00
parent 20196e15ee
commit bd7bfb002d
5 changed files with 858 additions and 961 deletions

View File

@@ -58,6 +58,11 @@ protected:
private:
DECLARE_DYNAMIC_CLASS(wxIcon)
bool LoadIconFromSystemResource(const wxString& resourceName, int desiredWidth, int desiredHeight);
bool LoadIconFromBundleResource(const wxString& resourceName, int desiredWidth, int desiredHeight);
bool LoadIconFromFile(const wxString& filename, int desiredWidth, int desiredHeight);
bool LoadIconAsBitmap(const wxString& filename, wxBitmapType flags = wxICON_DEFAULT_TYPE, int desiredWidth = -1, int desiredHeight = -1);
};
class WXDLLIMPEXP_CORE wxICONResourceHandler: public wxBitmapHandler