git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33116
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// GTK_WRAP_WORD_CHAR seems to be new in GTK+ 2.4
#ifdef __WXGTK24__
- wrap = GTK_WRAP_WORD_CHAR;
+ if ( !gtk_check_version(2,4,0) )
+ {
+ wrap = GTK_WRAP_WORD_CHAR;
+ }
+ else
#else
wrap = GTK_WRAP_WORD;
#endif
{
// GTK_WRAP_WORD_CHAR seems to be new in GTK+ 2.4
#ifdef __WXGTK24__
- wrap = GTK_WRAP_WORD_CHAR;
+ if ( !gtk_check_version(2,4,0) )
+ {
+ wrap = GTK_WRAP_WORD_CHAR;
+ }
+ else
#else
wrap = GTK_WRAP_WORD;
#endif