#ifndef _WX_PEN_H_BASE_
#define _WX_PEN_H_BASE_
-#if defined(__WXMSW__)
+#if defined(__PALMOS__)
+#include "wx/palmos/pen.h"
+#elif defined(__WXMSW__)
#include "wx/msw/pen.h"
-#elif defined(__WXMOTIF__)
-#include "wx/motif/pen.h"
+#elif defined(__WXMOTIF__) || defined(__WXX11__)
+#include "wx/x11/pen.h"
#elif defined(__WXGTK__)
#include "wx/gtk/pen.h"
-#elif defined(__WXX11__)
-#include "wx/x11/pen.h"
#elif defined(__WXMGL__)
#include "wx/mgl/pen.h"
#elif defined(__WXMAC__)
#include "wx/mac/pen.h"
+#elif defined(__WXCOCOA__)
+#include "wx/cocoa/pen.h"
#elif defined(__WXPM__)
#include "wx/os2/pen.h"
#endif