From: Václav Slavík Date: Sat, 3 Nov 2001 21:36:01 +0000 (+0000) Subject: recently checked in patch was ignorant to wxUSE_RESOURCES X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c88040761c79ddfa36bcbb0242165eca06201ffb recently checked in patch was ignorant to wxUSE_RESOURCES git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;