FXMessageBox question

(Yuri Leikind) #1

Hello all,

There are 2 ways to use FXMessageBox - via static methods like #error or
#information, and #new. Using the first way doesn’t give you access to the
object created

Say, I want to use #new to be able to do something before I #execute it (for
instance, set the correct font to the child FXLabel), but I need it to look
like it was created with, say. #error.

What’s the easiest way to add the same icon to it?


Best regards,
Yuri Leikind