]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor compilo fix
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 28 Mar 2005 10:49:43 +0000 (10:49 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 28 Mar 2005 10:49:43 +0000 (10:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index f918d8154f189c30ed54575d9e822320103aa285..5ec85604f15d1f50a51eac443c850fa5eb3f25cc 100644 (file)
@@ -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 );
index f918d8154f189c30ed54575d9e822320103aa285..5ec85604f15d1f50a51eac443c850fa5eb3f25cc 100644 (file)
@@ -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 );