gtk wxStaticText and wxALIGN_CENTER_VERTICAL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-06-27 13:19:19 +00:00
parent cde80c9284
commit 88684daa70

View File

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