From 34b8f3ef3d7cb4389ef23cc4fb6a94c53b70f9db Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 28 Mar 2005 10:49:43 +0000 Subject: [PATCH] Minor compilo fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/textctrl.cpp | 3 +-- src/gtk1/textctrl.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index f918d8154f..5ec85604f1 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -614,9 +614,8 @@ bool wxTextCtrl::Create( wxWindow *parent, wrap = GTK_WRAP_WORD_CHAR; } else -#else - wrap = GTK_WRAP_WORD; #endif + wrap = GTK_WRAP_WORD; } gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW( m_text ), wrap ); diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index f918d8154f..5ec85604f1 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -614,9 +614,8 @@ bool wxTextCtrl::Create( wxWindow *parent, wrap = GTK_WRAP_WORD_CHAR; } else -#else - wrap = GTK_WRAP_WORD; #endif + wrap = GTK_WRAP_WORD; } gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW( m_text ), wrap ); -- 2.45.2