use wxIsSameDouble() and wxIsNullDouble() for warning-less double comparison of doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user