]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/wizard/wizard.cpp
fixed a small typo
[wxWidgets.git] / samples / wizard / wizard.cpp
index f4586a11d80e14516e28749b9dffdc9acf7ad2d9..85c99f9d608982de3204715fa592e047a75ba580 100644 (file)
@@ -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,