From 41e2aad5302a826e6f30a97481ee448965e2ebf5 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 7 Dec 2006 07:18:03 +0000 Subject: [PATCH] use computed justification git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/textctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 9a2bc0502f..40c89ee562 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -881,7 +881,7 @@ void wxTextCtrl::GTKSetJustification() else // wxTE_LEFT == 0 just = GTK_JUSTIFY_LEFT; - gtk_text_view_set_justification( GTK_TEXT_VIEW(m_text), GTK_JUSTIFY_CENTER ); + gtk_text_view_set_justification(GTK_TEXT_VIEW(m_text), just); } else // single line { -- 2.45.2