X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07818da861a28c5f20919766756a6d94834455fe..8ea3f821b7efe6a1a0b9f5119274d4aac8d5f8cb:/include/wx/gtk1/region.h diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 2e23876d44..0a88482937 100644 --- a/include/wx/gtk1/region.h +++ b/include/wx/gtk1/region.h @@ -103,10 +103,7 @@ class wxRegion : public wxGDIObject class wxRegionIterator: public wxObject { - DECLARE_DYNAMIC_CLASS(wxRegionIterator); - - public: - +public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); @@ -119,18 +116,20 @@ class wxRegionIterator: public wxObject void operator ++ (); void operator ++ (int); - long GetX() const; - long GetY() const; - long GetW() const; - long GetWidth() const { return GetW(); } - long GetH() const; - long GetHeight() const { return GetH(); } + wxCoord GetX() const; + wxCoord GetY() const; + wxCoord GetW() const; + wxCoord GetWidth() const { return GetW(); } + wxCoord GetH() const; + wxCoord GetHeight() const { return GetH(); } wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } - private: - - long m_current; - wxRegion m_region; +private: + long m_current; + wxRegion m_region; + +private: + DECLARE_DYNAMIC_CLASS(wxRegionIterator); };