]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/control.h
compilation fixes
[wxWidgets.git] / include / wx / control.h
index bb5003ae2059f197d43a321464c384a2799a4563..40bc3ab8fdf0b95c3281d44da59e08e3aabecea2 100644 (file)
@@ -1,13 +1,22 @@
-#ifndef __CONTROLH_BASE__
-#define __CONTROLH_BASE__
+#ifndef _WX_CONTROL_H_BASE_
+#define _WX_CONTROL_H_BASE_
 
-#if defined(__WINDOWS__)
+// all classes derived from wxControl need the validators
+#include "wx/validate.h"
+
+#if defined(__WXMSW__)
 #include "wx/msw/control.h"
-#elif defined(__MOTIF__)
-#include "wx/xt/control.h"
-#elif defined(__GTK__)
+#elif defined(__WXMOTIF__)
+#include "wx/motif/control.h"
+#elif defined(__WXGTK__)
 #include "wx/gtk/control.h"
+#elif defined(__WXQT__)
+#include "wx/qt/control.h"
+#elif defined(__WXMAC__)
+#include "wx/mac/control.h"
+#elif defined(__WXSTUBS__)
+#include "wx/stubs/control.h"
 #endif
 
 #endif
-    // __CONTROLH_BASE__
+    // _WX_CONTROL_H_BASE_