1. changed wxIconBundle to use m_refData and COW to make copying icon bundles
fast (which was needed for 2) 2. make it possible to return wxIconBundles from wxArtProvider 3. implement Mac-specific wxArtProvider doing (2) (modified patch 1581960) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -145,7 +145,7 @@ public:
|
||||
virtual bool IsIconized() const = 0;
|
||||
|
||||
// get the frame icon
|
||||
const wxIcon& GetIcon() const { return m_icons.GetIcon( -1 ); }
|
||||
wxIcon GetIcon() const { return m_icons.GetIcon( -1 ); }
|
||||
|
||||
// get the frame icons
|
||||
const wxIconBundle& GetIcons() const { return m_icons; }
|
||||
|
Reference in New Issue
Block a user