diff --git a/include/wx/cocoa/icon.h b/include/wx/cocoa/icon.h index ebeb2975f8..3d1f3f8615 100644 --- a/include/wx/cocoa/icon.h +++ b/include/wx/cocoa/icon.h @@ -48,6 +48,8 @@ public: int GetWidth() const; int GetHeight() const; + wxSize GetSize() const { return wxSize(GetWidth(), GetHeight()); } + WX_NSImage GetNSImage() const; bool CreateFromXpm(const char* const* bits); diff --git a/include/wx/osx/icon.h b/include/wx/osx/icon.h index 1728e07ec5..d552bf8995 100644 --- a/include/wx/osx/icon.h +++ b/include/wx/osx/icon.h @@ -50,6 +50,8 @@ public: void SetDepth(int d); void SetOk(bool isOk); + wxSize GetSize() const { return wxSize(GetWidth(), GetHeight()); } + WXHICON GetHICON() const; protected: