]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wizard.h
Trying to hide evidence of my negative programming skills...
[wxWidgets.git] / include / wx / wizard.h
index 19a4082715a3475a5f5c7a79c1acfe62051e8d22..d80d8ba8fe708e87ade94362c57c866073151835 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _WX_WIZARD_H_
 #define _WX_WIZARD_H_
 
+#if wxUSE_WIZARDDLG
+
 // ----------------------------------------------------------------------------
 // headers and other simple declarations
 // ----------------------------------------------------------------------------
@@ -194,4 +196,6 @@ typedef void (wxEvtHandler::*wxWizardEventFunction)(wxWizardEvent&);
 // unless the event handler vetoes the event
 #define EVT_WIZARD_CANCEL(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_WIZARD_CANCEL, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxWizardEventFunction) & fn, (wxObject *)NULL),
 
+#endif // wxUSE_WIZARDDLG
+
 #endif // _WX_WIZARD_H_