]> git.saurik.com Git - wxWidgets.git/commitdiff
recently checked in patch was ignorant to wxUSE_RESOURCES
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 3 Nov 2001 21:36:01 +0000 (21:36 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 3 Nov 2001 21:36:01 +0000 (21:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/wizard.cpp

index 334c5859a5e5711d649cbaca9b44d7acb7ce5f68..8e88e0aa9831c14bc7e026990b8a0cca6d76d184 100644 (file)
@@ -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;