X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4ffe273ca70deb8e2cff7be9a07b0640e24bee0..95dee6514a24c2958b9571eb1c1a44ad3aad7a9e:/src/common/string.cpp 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