X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..ec974d23005b5f225fe59e674d664b248619f3b2:/include/wx/gtk1/pen.h diff --git a/include/wx/gtk1/pen.h b/include/wx/gtk1/pen.h index 508a4e5ea0..2f1d51c909 100644 --- a/include/wx/gtk1/pen.h +++ b/include/wx/gtk1/pen.h @@ -21,13 +21,19 @@ #include "wx/gdiobj.h" #include "wx/gdicmn.h" +#include // 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