X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f6c9085a50548c48d49874ff64c4928ba053c0c..427861bde09badef1a2950ad799e69fac6b4a48a:/interface/wx/icon.h diff --git a/interface/wx/icon.h b/interface/wx/icon.h index 5a055a7168..80a40419da 100644 --- a/interface/wx/icon.h +++ b/interface/wx/icon.h @@ -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); @@ -125,6 +129,10 @@ public: wxIcon icon("mondrian"); #endif @endcode + + @beginWxPerlOnly + In wxPerl use Wx::Icon->newFromXPM(data). + @endWxPerlOnly */ wxIcon(const char* const* bits); @@ -171,6 +179,12 @@ public: */ virtual ~wxIcon(); + /** + Returns disabled (dimmed) version of the icon. MSW only. + @since 2.9.0 + */ + wxIcon ConvertToDisabled(unsigned char brightness = 255) const; + /** Copies @a bmp bitmap to this icon. Under MS Windows the bitmap must have mask colour set.