X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20b6985553b4e01e7960847e3211d940aeff8742..60104cbafa4502c7592801ccb8507f779c5601cf:/include/wx/mac/carbon/icon.h diff --git a/include/wx/mac/carbon/icon.h b/include/wx/mac/carbon/icon.h index cc90942c70..64bdcc74ff 100644 --- a/include/wx/mac/carbon/icon.h +++ b/include/wx/mac/carbon/icon.h @@ -12,10 +12,6 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "icon.h" -#endif - #include "wx/bitmap.h" // Icon @@ -26,7 +22,10 @@ public: // Copy constructors wxIcon(const wxIcon& icon) - { Ref(icon); } + : wxGDIObject() + { + Ref(icon); + } wxIcon(const char **data); wxIcon(char **data); @@ -62,7 +61,7 @@ public: void SetHeight(int h); void SetDepth(int d); void SetOk(bool isOk); - + WXHICON GetHICON() const ; DECLARE_DYNAMIC_CLASS(wxIcon)