X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/91c68292f64a7ca83480a639264f4369b80ea1e5..d38e8d5f34262fa688cd0e5d397a2201978e5fa7:/include/wx/generic/wizard.h diff --git a/include/wx/generic/wizard.h b/include/wx/generic/wizard.h index f16fe894f2..68362e06ec 100644 --- a/include/wx/generic/wizard.h +++ b/include/wx/generic/wizard.h @@ -13,7 +13,7 @@ // wxWizard // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wizardg.h" #endif @@ -47,6 +47,7 @@ public: virtual wxWizardPage *GetCurrentPage() const; virtual void SetPageSize(const wxSize& size); virtual wxSize GetPageSize() const; + virtual void FitToPage(const wxWizardPage *firstPage); // implementation only from now on // ------------------------------- @@ -61,7 +62,7 @@ public: // do fill the dialog with controls // this is app-overridable to, for example, set help and tooltip text - void DoCreateControls(); + virtual void DoCreateControls(); private: // was the dialog really created?