From 92b929f0e18c5d17498ea0821eaaf5b2b8aeed04 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 29 Sep 2009 07:15:14 +0000 Subject: [PATCH] Added help button git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/wizard/wizard.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/samples/wizard/wizard.cpp b/samples/wizard/wizard.cpp index 216324d25c..1d9427753d 100644 --- a/samples/wizard/wizard.cpp +++ b/samples/wizard/wizard.cpp @@ -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