and added default values of -1,-1 to make it compatible with MSW behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@159
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
inline wxIcon(const wxIcon& icon) { Ref(icon); }
inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); }
- wxIcon( char **bits, const int WXUNUSED(width), const int WXUNUSED(height) ) :
+ wxIcon( char **bits, const int width = -1, const int height = -1 ) :
wxBitmap( bits ) {};
inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; }
inline wxIcon(const wxIcon& icon) { Ref(icon); }
inline wxIcon(const wxIcon* icon) { if (icon) Ref(*icon); }
- wxIcon( char **bits, const int WXUNUSED(width), const int WXUNUSED(height) ) :
+ wxIcon( char **bits, const int width = -1, const int height = -1 ) :
wxBitmap( bits ) {};
inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; }