Add wxIcon::GetSize() to wxIcon in wxOSX.

This fixes the compilation errors under OS X after r65884 due to the lack of
this method there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-10-23 21:47:22 +00:00
parent c5d7b7d20b
commit 9b307a69b3
2 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -50,6 +50,8 @@ public:
void SetDepth(int d);
void SetOk(bool isOk);
wxSize GetSize() const { return wxSize(GetWidth(), GetHeight()); }
WXHICON GetHICON() const;
protected: