the string ID of the icon to be shown when the button is pressed.
the string ID of the icon to be shown when the button is not pressed.
the source identifier passed in the event class.
the position where the button will be drawn. If the button will be used as a window header button, you only need to set the size, since the final position will be set by the window itself.
Creates an instance of SmallButton.