X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..bb86baea10afec3a7e4860c17b20edd485c628d6:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 313a7ab44f..1cdcca5073 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -73,7 +73,7 @@ bool wxStaticBox::Create( wxWindow *parent, else // wxALIGN_LEFT xalign = 0.0; - if ( xalign ) + if ( style & (wxALIGN_RIGHT | wxALIGN_CENTER) ) // left alignment is default gtk_frame_set_label_align(GTK_FRAME( m_widget ), xalign, 0.5); return TRUE;