X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cc5041d03515c7f749638a9af9cca46c0918dde..d728116a27b358e5b002337d96268fb51be128eb:/src/generic/wizard.cpp diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 334c5859a5..8e88e0aa98 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -86,10 +86,12 @@ wxWizardPage::wxWizardPage(wxWizard *parent, { if ( resource != NULL ) { +#if wxUSE_RESOURCES if ( !LoadFromResource(this, resource) ) { wxFAIL_MSG(wxT("wxWizardPage LoadFromResource failed!!!!")); } +#endif // wxUSE_RESOURCES } m_PageBitmap = bitmap;