some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user