X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..f8c4475a3e579655f6a962822824596a7a9cfb66:/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);