corrected creation of wxWizard (wxWizardBase::Create class function is
hidden by wxWizard::Create object method) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
70c1945c6a
commit
7335c5a588
@ -313,10 +313,10 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnRunWizard(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxWizard *wizard = wxWizard::Create(this, -1,
|
||||
"Absolutely Useless Wizard",
|
||||
BMP_WIZARD_1);
|
||||
|
||||
wxWizard *wizard = new wxWizard(this, -1,
|
||||
"Absolutely Useless Wizard",
|
||||
BMP_WIZARD_1);
|
||||
|
||||
// a wizard page may be either an object of predefined class
|
||||
wxWizardPageSimple *page1 = new wxWizardPageSimple(wizard);
|
||||
wxStaticText *text = new wxStaticText(page1, -1,
|
||||
|
Loading…
Reference in New Issue
Block a user