diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 5e9bac45b2..e0d277d91b 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -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;