Fix harmless g++ 4.3 warning about suggested parentheses.
Add parentheses around && within ||. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -279,7 +279,7 @@ bool AutoCaptureMechanism::Union(wxBitmap* top, wxBitmap* bottom, wxBitmap* resu
|
|||||||
|
|
||||||
wxRect AutoCaptureMechanism::GetRect(wxWindow* ctrl, int flag)
|
wxRect AutoCaptureMechanism::GetRect(wxWindow* ctrl, int flag)
|
||||||
{
|
{
|
||||||
if( !(m_flag & AJ_DisableRegionAdjust) && (flag & AJ_RegionAdjust)
|
if( (!(m_flag & AJ_DisableRegionAdjust) && (flag & AJ_RegionAdjust))
|
||||||
|| (m_flag & AJ_AlwaysRegionAdjust) )
|
|| (m_flag & AJ_AlwaysRegionAdjust) )
|
||||||
{
|
{
|
||||||
wxWindow * parent = ctrl->GetParent();
|
wxWindow * parent = ctrl->GetParent();
|
||||||
|
Reference in New Issue
Block a user