removing extraneous parentheses

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-07-14 16:36:58 +00:00
parent e144fe614c
commit a5d8826def

View File

@@ -377,7 +377,7 @@ bool wxSizerItem::InformFirstDirection(int direction, int size, int availableOth
{ {
if( !wxIsNullDouble(m_ratio) ) if( !wxIsNullDouble(m_ratio) )
{ {
wxCHECK_MSG( (m_proportion==0), false, wxT("Shaped item, non-zero proportion in wxSizerItem::InformFirstDirection()") ); wxCHECK_MSG( m_proportion==0, false, wxT("Shaped item, non-zero proportion in wxSizerItem::InformFirstDirection()") );
if( direction==wxHORIZONTAL && !wxIsNullDouble(m_ratio) ) if( direction==wxHORIZONTAL && !wxIsNullDouble(m_ratio) )
{ {
// Clip size so that we don't take too much // Clip size so that we don't take too much