]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
added missing return on error
[wxWidgets.git] / src / generic / wizard.cpp
index 65360bcda546006ab9e68bbbe81d7b64026c8cc1..e515042bec56b2e5fb11de31530827cad0e15206 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_WIZARDDLG
+
 #ifndef WX_PRECOMP
     #include "wx/dynarray.h"
     #include "wx/intl.h"
@@ -393,3 +395,4 @@ wxWizardEvent::wxWizardEvent(wxEventType type, int id, bool direction)
     m_direction = direction;
 }
 
+#endif // wxUSE_WIZARDDLG