64 |
: mWrapWidth(0), |
: mWrapWidth(0), |
65 |
mWrapHeight(0) |
mWrapHeight(0) |
66 |
{ |
{ |
67 |
// pangomm >= 2.35.1 |
// new enums introduced in unstable pangomm 2.41.3, but not in stable 2.42 |
68 |
#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && (PANGOMM_MINOR_VERSION > 35 || (PANGOMM_MINOR_VERSION == 35 && PANGOMM_MICRO_VERSION >= 1))) |
#if PANGOMM_MAJOR_VERSION > 2 || (PANGOMM_MAJOR_VERSION == 2 && ((PANGOMM_MINOR_VERSION == 41 && PANGOMM_MICRO_VERSION >= 3) || PANGOMM_MINOR_VERSION > 42)) |
69 |
get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR); |
get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR); |
70 |
#else |
#else |
71 |
get_layout()->set_wrap(Pango::WRAP_WORD_CHAR); |
get_layout()->set_wrap(Pango::WRAP_WORD_CHAR); |