X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d32011d4064f1411280b5708562cce86bd6d12ec..1affde0a6b0b61c017d9164ab74aade81e26d6b7:/samples/wizard/wizard.cpp diff --git a/samples/wizard/wizard.cpp b/samples/wizard/wizard.cpp index f4586a11d8..85c99f9d60 100644 --- a/samples/wizard/wizard.cpp +++ b/samples/wizard/wizard.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation "wizard.cpp" #pragma interface "wizard.cpp" #endif @@ -303,9 +303,9 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnRunWizard(wxCommandEvent& WXUNUSED(event)) { wxWizard *wizard = new wxWizard(this, -1, - "Absolutely Useless Wizard", - wxBITMAP(wiztest)); - + "Absolutely Useless Wizard", + wxBITMAP(wiztest)); + // a wizard page may be either an object of predefined class wxWizardPageSimple *page1 = new wxWizardPageSimple(wizard); wxStaticText *text = new wxStaticText(page1, -1,