]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/pen.h
A fix for attribrute sorting, but it's still broken if there are
[wxWidgets.git] / include / wx / gtk1 / pen.h
index 508a4e5ea01b8e5c1fa5e5dd9df83a72dd54c68c..20d09c2ed4c541d9a72cb7782f49b8705fa64d74 100644 (file)
 
 class wxPen;
 
-typedef    char wxDash;
+#if defined(__WXGTK127__) || defined(__WXGTK20__)
+typedef    gint8 wxGTKDash;
+#else
+typedef    gchar wxGTKDash;
+#endif
 
 //-----------------------------------------------------------------------------
 // wxPen
@@ -41,8 +45,8 @@ public:
     wxPen( const wxPen& pen );
     ~wxPen();
     wxPen& operator = ( const wxPen& pen );
-    bool operator == ( const wxPen& pen );
-    bool operator != ( const wxPen& pen );
+    bool operator == ( const wxPen& pen ) const;
+    bool operator != ( const wxPen& pen ) const;
 
     void SetColour( const wxColour &colour );
     void SetColour( int red, int green, int blue );