@param height
The height of the image.
- @onlyfor{wxmsw,wxmac}
+ @beginWxPerlOnly
+ In wxPerl use Wx::Icon->newBits(bits, width, height, depth = -1);
+ @endWxPerlOnly
+
+ @onlyfor{wxmsw,wxosx}
*/
wxIcon(const char bits[], int width, int height);
wxIcon icon("mondrian");
#endif
@endcode
+
+ @beginWxPerlOnly
+ In wxPerl use Wx::Icon->newFromXPM(data).
+ @endWxPerlOnly
*/
wxIcon(const char* const* bits);
*/
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.