]> git.saurik.com Git - wxWidgets.git/commitdiff
gtk wxStaticText and wxALIGN_CENTER_VERTICAL
authorRobert Roebling <robert@roebling.de>
Fri, 27 Jun 2008 13:19:19 +0000 (13:19 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 27 Jun 2008 13:19:19 +0000 (13:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/stattext.cpp

index 5e9bac45b2541b1644690d451e62d9e8a54bc58f..e0d277d91be0632e3d248bcdab5f3017b0dec30d 100644 (file)
@@ -54,7 +54,7 @@ bool wxStaticText::Create(wxWindow *parent,
     m_widget = gtk_label_new(NULL);
 
     GtkJustification justify;
-    if ( style & wxALIGN_CENTER )
+    if ( style & wxALIGN_CENTER_HORIZONTAL )
       justify = GTK_JUSTIFY_CENTER;
     else if ( style & wxALIGN_RIGHT )
       justify = GTK_JUSTIFY_RIGHT;