#ifndef __WINDOWH_BASE__
#define __WINDOWH_BASE__
-#if defined(__WINDOWS__)
+#if defined(__WXMSW__)
#include "wx/msw/window.h"
-#elif defined(__MOTIF__)
+#elif defined(__WXMOTIF__)
#include "wx/xt/window.h"
-#elif defined(__GTK__)
+#elif defined(__WXGTK__)
#include "wx/gtk/window.h"
#endif