#if defined(__WXMSW__)
#include "wx/msw/region.h"
#elif defined(__WXMOTIF__)
-#include "wx/motif/region.h"
+#include "wx/x11/region.h"
#elif defined(__WXGTK__)
#include "wx/gtk/region.h"
-#elif defined(__WXQT__)
-#include "wx/qt/region.h"
+#elif defined(__WXX11__)
+#include "wx/x11/region.h"
+#elif defined(__WXMGL__)
+#include "wx/mgl/region.h"
#elif defined(__WXMAC__)
#include "wx/mac/region.h"
-#elif defined(__WXSTUBS__)
-#include "wx/stubs/region.h"
+#elif defined(__WXCOCOA__)
+#include "wx/cocoa/region.h"
+#elif defined(__WXPM__)
+#include "wx/os2/region.h"
#endif
#endif