-#elif defined(__MOTIF__)
-#include "wx/xt/tabctrl.h"
-#elif defined(__GTK__)
-#include "wx/gtk/tabctrl.h"
+#elif defined(__WXMOTIF__)
+#include "wx/motif/tabctrl.h"
+#elif defined(__WXGTK__)
+#elif defined(__WXMAC__)
+#include "wx/mac/tabctrl.h"
+#elif defined(__WXPM__)
+#include "wx/os2/tabctrl.h"
+#elif defined(__WXSTUBS__)
+#include "wx/stubs/tabctrl.h"