]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/pen.h
Chnaged includes to work without precompiled headers
[wxWidgets.git] / include / wx / gtk1 / pen.h
index 508a4e5ea01b8e5c1fa5e5dd9df83a72dd54c68c..2f1d51c90936f6af4bc85bb9fb0dc306c3a999f7 100644 (file)
 #include "wx/gdiobj.h"
 #include "wx/gdicmn.h"
 
+#include <gtk/gtk.h>  // only needed for wxGTKDash, should it go elsewhere..
+
 //-----------------------------------------------------------------------------
 // classes
 //-----------------------------------------------------------------------------
 
 class wxPen;
 
-typedef    char wxDash;
+#if GTK_CHECK_VERSION(1,2,7)
+typedef    gint8 wxGTKDash;
+#else
+typedef    gchar wxGTKDash;
+#endif
 
 //-----------------------------------------------------------------------------
 // wxPen