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:
Ron Lee
2000-03-05 19:18:31 +00:00
parent 5dffa63b2f
commit 05a1104392
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;