From 05a11043926e5770f7fa9e3512689cda3cf21349 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Sun, 5 Mar 2000 19:18:31 +0000 Subject: [PATCH] couple of typo/thinko bug fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/region.cpp | 4 ++-- src/gtk1/region.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtk/region.cpp b/src/gtk/region.cpp index 8af2c03eee..0332bd48b6 100644 --- a/src/gtk/region.cpp +++ b/src/gtk/region.cpp @@ -293,7 +293,7 @@ bool wxRegion::Xor( const wxRect& rect ) bool wxRegion::Xor( const wxRegion& region ) { if (region.IsNull()) - return NULL; + return FALSE; if (!m_refData) { @@ -322,7 +322,7 @@ void wxRegion::GetBox( wxCoord &x, wxCoord &y, wxCoord &w, wxCoord &h ) const y = 0; w = -1; h = -1; - if (m_refData) + if (!m_refData) return; GdkRectangle rect; diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index 8af2c03eee..0332bd48b6 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -293,7 +293,7 @@ bool wxRegion::Xor( const wxRect& rect ) bool wxRegion::Xor( const wxRegion& region ) { if (region.IsNull()) - return NULL; + return FALSE; if (!m_refData) { @@ -322,7 +322,7 @@ void wxRegion::GetBox( wxCoord &x, wxCoord &y, wxCoord &w, wxCoord &h ) const y = 0; w = -1; h = -1; - if (m_refData) + if (!m_refData) return; GdkRectangle rect; -- 2.45.2