X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..5357c8e8b3da95c225e686a195002df5712446b8:/include/wx/msw/region.h diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index 54f91f6234..4349debda6 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -117,8 +117,11 @@ public: void Reset(void) { m_current = 0; } void Reset(const wxRegion& region); - operator bool (void) const { return m_current < m_numRects; } - bool HaveRects(void) const { return m_current < m_numRects; } +#ifndef __SALFORDC__ + operator bool (void) const { return (m_current < m_numRects); } +#endif + + bool HaveRects(void) const { return (m_current < m_numRects); } void operator ++ (void); void operator ++ (int);