]> git.saurik.com Git - wxWidgets.git/commitdiff
use computed justification
authorPaul Cornett <paulcor@bullseye.com>
Thu, 7 Dec 2006 07:18:03 +0000 (07:18 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 7 Dec 2006 07:18:03 +0000 (07:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp

index 9a2bc0502f0af0fc2fae0904f65a0918f6566b19..40c89ee5620a41166097da7a76ee224b47953ebb 100644 (file)
@@ -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
     {