diff --git a/src/common/string.cpp b/src/common/string.cpp index 4d80612280..ba38f0559a 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1842,7 +1842,7 @@ size_t wxMBConv_file::WC2MB(char *buf, const wchar_t *psz, size_t n) const // standard gdk conversion // ---------------------------------------------------------------------------- -#ifdef __WXGTK__ +#if defined(__WXGTK__) && (GTK_MINOR_VERSION > 0) WXDLLEXPORT_DATA(wxMBConv_gdk) wxConv_gdk; #include @@ -1870,7 +1870,7 @@ size_t wxMBConv_gdk::WC2MB(char *buf, const wchar_t *psz, size_t n) const } return len; } -#endif +#endif // GTK > 1.0 // ---------------------------------------------------------------------------- // UTF-7