X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/308a5aeb9ddebefd6c28e1bbb8b198dccc12a8c4..4cbcfb73a037462ccf4d54b3e50c58e37cc61aa9:/src/gtk1/statbox.cpp diff --git a/src/gtk1/statbox.cpp b/src/gtk1/statbox.cpp index 5b09be49d1..1cdcca5073 100644 --- a/src/gtk1/statbox.cpp +++ b/src/gtk1/statbox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "statbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -77,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;