couple of typo/thinko bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -293,7 +293,7 @@ bool wxRegion::Xor( const wxRect& rect )
|
|||||||
bool wxRegion::Xor( const wxRegion& region )
|
bool wxRegion::Xor( const wxRegion& region )
|
||||||
{
|
{
|
||||||
if (region.IsNull())
|
if (region.IsNull())
|
||||||
return NULL;
|
return FALSE;
|
||||||
|
|
||||||
if (!m_refData)
|
if (!m_refData)
|
||||||
{
|
{
|
||||||
@@ -322,7 +322,7 @@ void wxRegion::GetBox( wxCoord &x, wxCoord &y, wxCoord &w, wxCoord &h ) const
|
|||||||
y = 0;
|
y = 0;
|
||||||
w = -1;
|
w = -1;
|
||||||
h = -1;
|
h = -1;
|
||||||
if (m_refData)
|
if (!m_refData)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GdkRectangle rect;
|
GdkRectangle rect;
|
||||||
|
@@ -293,7 +293,7 @@ bool wxRegion::Xor( const wxRect& rect )
|
|||||||
bool wxRegion::Xor( const wxRegion& region )
|
bool wxRegion::Xor( const wxRegion& region )
|
||||||
{
|
{
|
||||||
if (region.IsNull())
|
if (region.IsNull())
|
||||||
return NULL;
|
return FALSE;
|
||||||
|
|
||||||
if (!m_refData)
|
if (!m_refData)
|
||||||
{
|
{
|
||||||
@@ -322,7 +322,7 @@ void wxRegion::GetBox( wxCoord &x, wxCoord &y, wxCoord &w, wxCoord &h ) const
|
|||||||
y = 0;
|
y = 0;
|
||||||
w = -1;
|
w = -1;
|
||||||
h = -1;
|
h = -1;
|
||||||
if (m_refData)
|
if (!m_refData)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GdkRectangle rect;
|
GdkRectangle rect;
|
||||||
|
Reference in New Issue
Block a user