From: Paul Cornett <paulcor@bullseye.com>
Date: Thu, 7 Dec 2006 07:18:03 +0000 (+0000)
Subject: use computed justification
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41e2aad5302a826e6f30a97481ee448965e2ebf5

use computed justification


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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
     {