#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
class wxPen: public wxGDIObject
{
- DECLARE_DYNAMIC_CLASS(wxPen)
-
- public:
-
+public:
wxPen();
wxPen( const wxColour &colour, int width, int style );
wxPen( const wxPen& pen );
void Unshare();
- // no data :-)
+private:
+ DECLARE_DYNAMIC_CLASS(wxPen)
};
#endif // __GTKPENH__