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:
parent
8e43fc7776
commit
92b929f0e1
@ -383,10 +383,12 @@ bool MyApp::OnInit()
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
MyWizard::MyWizard(wxFrame *frame, bool useSizer)
|
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));
|
SetIcon(wxIcon(sample_xpm));
|
||||||
|
|
||||||
// Allow the bitmap to be expanded to fit the page height
|
// Allow the bitmap to be expanded to fit the page height
|
||||||
|
Loading…
Reference in New Issue
Block a user