]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/setup.h
Resource file updates and setup to configure for generic dirdlg.
[wxWidgets.git] / include / wx / setup.h
index 9926f0f0dd8452dff5cc5d27242540aa7c1e19b5..8c95388a21e3c96e40d3335663260164a11e7b15 100644 (file)
@@ -1,26 +1,14 @@
-
-#ifndef _WX_SETUP_H_BASE_
-#define _WX_SETUP_H_BASE_
-
-/* compatibility code, to be removed asap: */
-
-#if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXQT__) && !defined(__WXSTUBS__) && !defined(__WXMAC__)
-#    error No __WXxxx__ define set! Please define one of __WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXSTUBS__
-#endif
-
-#if defined(__WXMSW__)
+/*
+ * wx/setup.h
+ *
+ * This file should not normally be used, except where makefiles
+ * have not yet been adjusted to take into account of the new scheme
+ * whereby a setup.h is created under the lib directory.
+ */
+
+#ifdef __WXMSW__
 #include "wx/msw/setup.h"
-#elif defined(__WXMAC__)
-#include "wx/mac/setup.h"
-#elif defined(__WXQT__)
-#include "wx/qt/setup.h"
-#elif defined(__WXMOTIF__)
-#include "wx/motif/setup.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/setup.h"
-#elif defined(__WXGTK__)
-#include "wx/../../install/unix/setup/setup.h"
+#else
+#error Please adjust your include path to pick up the wx/setup.h file under lib first.
 #endif
 
-#endif
-       /* _WX_SETUP_H_BASE_ */