adding NSImage support to wxIcon on OSX, as IconRefs are on their way out, and performance under 10.9 is suffering

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-02-23 19:11:31 +00:00
parent 21aa2122f4
commit d692ea1c0e
2 changed files with 46 additions and 1 deletions

View File

@@ -52,7 +52,11 @@ public:
wxSize GetSize() const { return wxSize(GetWidth(), GetHeight()); }
WXHICON GetHICON() const;
#if wxOSX_USE_COCOA
WX_NSImage GetNSImage() const ;
#endif
protected:
virtual wxGDIRefData *CreateGDIRefData() const;
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;