X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cc5041d03515c7f749638a9af9cca46c0918dde..c0ad3d42d5eb619556a3905df22338360b1f6fcc:/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;