Standard icon in custom dialog

Is there any way to grab a standard icon for a custom dialog? I have a
message box with Wx::ICON_ERROR, and I want to add a check box to it.
The only way I know to do this is to create a custom dialog. Then I can
use a standard button sizer to get the proper buttons, but I can’t find
the error icon.

Any hints are appreciated. Thanks!


Ryan H.
L-3 Communications / Communication Systems West
[email protected]

hi

On 15/07/2011 20:23, [email protected] wrote:

Is there any way to grab a standard icon for a custom dialog? I have a
message box with Wx::ICON_ERROR, and I want to add a check box to it.
The only way I know to do this is to create a custom dialog. Then I can
use a standard button sizer to get the proper buttons, but I can’t find
the error icon.

Wx::ArtProvider.icon(Wx::ART_ERROR)

cheers
alex