wxcontexthelpbuttoninstances of this class may be used to add a question mark button that when pressed, puts the application into context-help mode. it does this by creating a wxcontexthelp object which itself generates a wxevt_help event when the user clicks on a window. on windows, you may add a question-mark icon to a dialog by use of the wxdialog_ex_contexthelp extra style, but on other platforms you will have to add a button explicitly, usually next to ok, cancel or similar buttons. derived from
wxbitmapbutton include files <wx/cshelp.h> see also members
wxcontexthelpbutton::wxcontexthelpbutton
wxcontexthelpbutton::wxcontexthelpbuttonwxcontexthelpbutton() default constructor. wxcontexthelpbutton( wxwindow* parent, wxwindowid id = wxid_context_help, const wxpoint& pos = wxdefaultposition, const wxsize& size = wxdefaultsize, long style = wxbu_autodraw) constructor, creating and showing a context help button. parameters parent
id
pos
size
style
remarks normally you need pass only the parent window to the constructor, and use the defaults for the remaining parameters.
|