X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/198c264dbcf226b5df0eed219aef30d6fdc38a71..a8bda512079352ba81933e278d9ccdb8ef7a9866:/interface/wx/icon.h diff --git a/interface/wx/icon.h b/interface/wx/icon.h index 9cb95d7348..b574ce34f8 100644 --- a/interface/wx/icon.h +++ b/interface/wx/icon.h @@ -3,7 +3,7 @@ // Purpose: interface of wxIcon // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -94,6 +94,10 @@ public: @param height The height of the image. + @beginWxPerlOnly + In wxPerl use Wx::Icon->newBits(bits, width, height, depth = -1); + @endWxPerlOnly + @onlyfor{wxmsw,wxosx} */ wxIcon(const char bits[], int width, int height); @@ -114,17 +118,21 @@ public: the appropriate platform, or an icon resource on Windows. @code - wxIcon icon(wxICON(mondrian)); + wxIcon icon(wxICON(sample)); // Equivalent to: #if defined(__WXGTK__) || defined(__WXMOTIF__) - wxIcon icon(mondrian_xpm); + wxIcon icon(sample_xpm); #endif #if defined(__WXMSW__) - wxIcon icon("mondrian"); + wxIcon icon("sample"); #endif @endcode + + @beginWxPerlOnly + In wxPerl use Wx::Icon->newFromXPM(data). + @endWxPerlOnly */ wxIcon(const char* const* bits);