Added help button

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2009-09-29 07:15:14 +00:00
parent 8e43fc7776
commit 92b929f0e1

View File

@ -383,10 +383,12 @@ bool MyApp::OnInit()
// ----------------------------------------------------------------------------
MyWizard::MyWizard(wxFrame *frame, bool useSizer)
: wxWizard(frame,wxID_ANY,wxT("Absolutely Useless Wizard"),
wxBitmap(wiztest_xpm),wxDefaultPosition,
wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
{
SetExtraStyle(wxWIZARD_EX_HELPBUTTON);
Create(frame,wxID_ANY,wxT("Absolutely Useless Wizard"),
wxBitmap(wiztest_xpm),wxDefaultPosition,
wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
SetIcon(wxIcon(sample_xpm));
// Allow the bitmap to be expanded to fit the page height