projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxUniv/MSW compilation fix.
[wxWidgets.git]
/
src
/
gtk1
/
region.cpp
diff --git
a/src/gtk1/region.cpp
b/src/gtk1/region.cpp
index ea44a6498fbecb726f296b25f8ac5a6631fb5bf9..d128d9f973db3feb68e0889bcfd3bbfb20cf3bf2 100644
(file)
--- a/
src/gtk1/region.cpp
+++ b/
src/gtk1/region.cpp
@@
-107,7
+107,7
@@
wxRegion::wxRegion( GdkRegion *region )
M_REGIONDATA->m_region = gdk_regions_union(wxGdkRegion(), region);
}
M_REGIONDATA->m_region = gdk_regions_union(wxGdkRegion(), region);
}
-wxRegion::wxRegion( size_t n, const wxPoint *points,
int
fillStyle )
+wxRegion::wxRegion( size_t n, const wxPoint *points,
wxPolygonFillMode
fillStyle )
{
GdkPoint *gdkpoints = new GdkPoint[n];
for ( size_t i = 0 ; i < n ; i++ )
{
GdkPoint *gdkpoints = new GdkPoint[n];
for ( size_t i = 0 ; i < n ; i++ )
@@
-219,7
+219,7
@@
bool wxRegion::DoUnionWithRegion( const wxRegion& region )
bool wxRegion::DoIntersect( const wxRegion& region )
{
bool wxRegion::DoIntersect( const wxRegion& region )
{
- wxCHECK_MSG( region.Ok(), false,
_
T("invalid region") );
+ wxCHECK_MSG( region.Ok(), false,
wx
T("invalid region") );
if (!m_refData)
{
if (!m_refData)
{
@@
-238,7
+238,7
@@
bool wxRegion::DoIntersect( const wxRegion& region )
bool wxRegion::DoSubtract( const wxRegion& region )
{
bool wxRegion::DoSubtract( const wxRegion& region )
{
- wxCHECK_MSG( region.Ok(), false,
_
T("invalid region") );
+ wxCHECK_MSG( region.Ok(), false,
wx
T("invalid region") );
if (!m_refData)
{
if (!m_refData)
{
@@
-257,7
+257,7
@@
bool wxRegion::DoSubtract( const wxRegion& region )
bool wxRegion::DoXor( const wxRegion& region )
{
bool wxRegion::DoXor( const wxRegion& region )
{
- wxCHECK_MSG( region.Ok(), false,
_
T("invalid region") );
+ wxCHECK_MSG( region.Ok(), false,
wx
T("invalid region") );
if (!m_refData)
{
if (!m_refData)
{
@@
-355,7
+355,7
@@
wxRegionContain wxRegion::DoContainsRect(const wxRect& r) const
GdkRegion *wxRegion::GetRegion() const
{
if (!m_refData)
GdkRegion *wxRegion::GetRegion() const
{
if (!m_refData)
- return
(GdkRegion*)
NULL;
+ return NULL;
return M_REGIONDATA->m_region;
}
return M_REGIONDATA->m_region;
}
@@
-474,28
+474,28
@@
wxRegionIterator wxRegionIterator::operator ++ (int)
wxCoord wxRegionIterator::GetX() const
{
wxCoord wxRegionIterator::GetX() const
{
- wxCHECK_MSG( HaveRects(), 0,
_
T("invalid wxRegionIterator") );
+ wxCHECK_MSG( HaveRects(), 0,
wx
T("invalid wxRegionIterator") );
return ((wxRIRefData*)m_refData)->m_rects[m_current].x;
}
wxCoord wxRegionIterator::GetY() const
{
return ((wxRIRefData*)m_refData)->m_rects[m_current].x;
}
wxCoord wxRegionIterator::GetY() const
{
- wxCHECK_MSG( HaveRects(), 0,
_
T("invalid wxRegionIterator") );
+ wxCHECK_MSG( HaveRects(), 0,
wx
T("invalid wxRegionIterator") );
return ((wxRIRefData*)m_refData)->m_rects[m_current].y;
}
wxCoord wxRegionIterator::GetW() const
{
return ((wxRIRefData*)m_refData)->m_rects[m_current].y;
}
wxCoord wxRegionIterator::GetW() const
{
- wxCHECK_MSG( HaveRects(), 0,
_
T("invalid wxRegionIterator") );
+ wxCHECK_MSG( HaveRects(), 0,
wx
T("invalid wxRegionIterator") );
return ((wxRIRefData*)m_refData)->m_rects[m_current].width;
}
wxCoord wxRegionIterator::GetH() const
{
return ((wxRIRefData*)m_refData)->m_rects[m_current].width;
}
wxCoord wxRegionIterator::GetH() const
{
- wxCHECK_MSG( HaveRects(), 0,
_
T("invalid wxRegionIterator") );
+ wxCHECK_MSG( HaveRects(), 0,
wx
T("invalid wxRegionIterator") );
return ((wxRIRefData*)m_refData)->m_rects[m_current].height;
}
return ((wxRIRefData*)m_refData)->m_rects[m_current].height;
}