X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fc7ede910768d418a0b436e0046300712304d3b..695237bccd652c60deba347117ba5ab32067880c:/include/wx/gtk/region.h diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 457ecbd4dd..ff139cb0f5 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -107,7 +107,7 @@ public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); - void Reset() { m_current = 0; } + void Reset() { m_current = 0u; } void Reset(const wxRegion& region); operator bool () const; @@ -125,8 +125,8 @@ public: wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } private: - long m_current; - wxRegion m_region; + size_t m_current; + wxRegion m_region; private: DECLARE_DYNAMIC_CLASS(wxRegionIterator);