From cc2a0b0170f3be07571cb2b6222fd9a350bf3406 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 13 Jun 2000 03:44:42 +0000 Subject: [PATCH] some cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/misc.i | 18 +----------------- wxPython/src/msw/misc.cpp | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/wxPython/src/misc.i b/wxPython/src/misc.i index 4e8f4b757d..6f0312e99e 100644 --- a/wxPython/src/misc.i +++ b/wxPython/src/misc.i @@ -211,22 +211,6 @@ public: }; -// %inline %{ -// bool wxIntersectRect(wxRect* dest, wxRect* r1, wxRect* r2) { -// wxRegion reg1(*r1); -// wxRegion reg2(*r2); -// bool success; -// *dest = wxRect(0,0,0,0); -// success = reg1.Intersect(reg2); -// if (success) { -// *dest = reg1.GetBox(); -// return *dest != wxRect(0,0,0,0); -// } -// return FALSE; -// } -// %} - - %inline %{ PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) { wxRegion reg1(*r1); @@ -431,7 +415,7 @@ public: %readonly %{ -#if 0 // we want to use the definition from the header, no the +#if 0 // we want to use the definition from the header, not the // one SWIG will generate. %} extern wxAcceleratorTable wxNullAcceleratorTable; diff --git a/wxPython/src/msw/misc.cpp b/wxPython/src/msw/misc.cpp index ce5a8b5852..2a5a097ebb 100644 --- a/wxPython/src/msw/misc.cpp +++ b/wxPython/src/msw/misc.cpp @@ -134,7 +134,7 @@ static char* wxStringErrorMsg = "string type is required for parameter"; return retval; } -#if 0 // we want to use the definition from the header, no the +#if 0 // we want to use the definition from the header, not the // one SWIG will generate. extern wxAcceleratorTable wxNullAcceleratorTable;