]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
compilation warning fix
[wxWidgets.git] / src / generic / wizard.cpp
index 334c5859a5e5711d649cbaca9b44d7acb7ce5f68..8e88e0aa9831c14bc7e026990b8a0cca6d76d184 100644 (file)
@@ -86,10 +86,12 @@ wxWizardPage::wxWizardPage(wxWizard *parent,
 {
     if ( resource != NULL )
     {
 {
     if ( resource != NULL )
     {
+#if wxUSE_RESOURCES
         if ( !LoadFromResource(this, resource) )
         {
             wxFAIL_MSG(wxT("wxWizardPage LoadFromResource failed!!!!"));
         }
         if ( !LoadFromResource(this, resource) )
         {
             wxFAIL_MSG(wxT("wxWizardPage LoadFromResource failed!!!!"));
         }
+#endif // wxUSE_RESOURCES
     }
 
     m_PageBitmap = bitmap;
     }
 
     m_PageBitmap = bitmap;