]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
The device origin can be set on WinCE, so use it and redefine conversion
[wxWidgets.git] / src / gtk / 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 );