Update of /cvsroot/mahogany/M/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv25437

Modified Files:
        MAppBase.cpp-swig MAppBase.i MAppBase.py-swig 
Log Message:
fixed Python compilation


Index: MAppBase.cpp-swig
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/MAppBase.cpp-swig,v
retrieving revision 1.30
retrieving revision 1.31
diff -b -u -2 -r1.30 -r1.31
--- MAppBase.cpp-swig   28 Nov 2001 11:39:17 -0000      1.30
+++ MAppBase.cpp-swig   22 Apr 2002 13:43:46 -0000      1.31
@@ -771,14 +771,11 @@
     wxWindow *arg1 = NULL ;
     char *arg2 = MDIALOG_YESNOTITLE_C ;
-    bool arg3 = true ;
-    char *arg4 = NULL ;
+    int arg3 = M_DLG_YES_DEFAULT ;
     PyObject * argo1 =0 ;
-    int tempbool3 = (int) true ;
     bool result ;
     
-    if(!PyArg_ParseTuple(args,(char 
*)"s|Osis:MDialog_YesNoDialog",&arg0,&argo1,&arg2,&tempbool3,&arg4)) return NULL;
+    if(!PyArg_ParseTuple(args,(char 
+*)"s|Osi:MDialog_YesNoDialog",&arg0,&argo1,&arg2,&arg3)) return NULL;
     if ((SWIG_ConvertPtr(argo1,(void **) &arg1,SWIGTYPE_p_wxWindow,1)) == -1) return 
NULL;
-    arg3 = (bool ) tempbool3;
-    result = (bool )MDialog_YesNoDialog((char const *)arg0,arg1,(char const 
*)arg2,arg3,(char const *)arg4);
+    result = (bool )MDialog_YesNoDialog((char const *)arg0,arg1,(char const 
+*)arg2,arg3);
     resultobj = PyInt_FromLong((long)result);
     return resultobj;

Index: MAppBase.i
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/MAppBase.i,v
retrieving revision 1.22
retrieving revision 1.23
diff -b -u -2 -r1.22 -r1.23
--- MAppBase.i  23 Nov 2001 20:13:14 -0000      1.22
+++ MAppBase.i  22 Apr 2002 13:43:46 -0000      1.23
@@ -62,6 +62,5 @@
                            wxWindow *parent = NULL,
                            const char *title = MDIALOG_YESNOTITLE_C,
-                           bool YesDefault = true,
-                           const char *configPath = NULL);
+                           int flags = M_DLG_YES_DEFAULT);
 
 char *MDialog_FileRequester(String  &message,

Index: MAppBase.py-swig
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/MAppBase.py-swig,v
retrieving revision 1.30
retrieving revision 1.31
diff -b -u -2 -r1.30 -r1.31
Binary files /tmp/cvsQ68akC and /tmp/cvsSIRZL6 differ


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to