]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
missing #if's needed for compilation with some wxUSE_XXX set to 0 (patch 728413)
[wxWidgets.git] / src / generic / wizard.cpp
index 01304347cf8ac99a68af881288453dcdf9df5dc8..83ad8ffb4952b0e340518672a81228a884fd0a06 100644 (file)
@@ -9,7 +9,7 @@
 // Created:     15.08.99
 // RCS-ID:      $Id$
 // Copyright:   (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -102,10 +102,12 @@ bool wxWizardPage::Create(wxWizard *parent,
     if ( resource != NULL )
     {
 #if wxUSE_WX_RESOURCES
-        if ( !LoadFromResource(this, resource) )
+#if 0
+       if ( !LoadFromResource(this, resource) )
         {
             wxFAIL_MSG(wxT("wxWizardPage LoadFromResource failed!!!!"));
         }
+#endif
 #endif // wxUSE_RESOURCES
     }