Commit c99b675f authored by Jack Jansen's avatar Jack Jansen

For reasons unknown previewProc and filterProc were disabled. Enabled them.

parent f0d12da4
...@@ -202,11 +202,9 @@ filldialogoptions(PyObject *d, ...@@ -202,11 +202,9 @@ filldialogoptions(PyObject *d,
} else if( eventProcP && strcmp(keystr, "eventProc") == 0 ) { } else if( eventProcP && strcmp(keystr, "eventProc") == 0 ) {
*eventProcP = my_eventProcUPP; *eventProcP = my_eventProcUPP;
} else if( previewProcP && strcmp(keystr, "previewProc") == 0 ) { } else if( previewProcP && strcmp(keystr, "previewProc") == 0 ) {
PyErr_SetString(ErrorObject, "No callbacks implemented yet"); *previewProcP = my_previewProcUPP;
return 0;
} else if( filterProcP && strcmp(keystr, "filterProc") == 0 ) { } else if( filterProcP && strcmp(keystr, "filterProc") == 0 ) {
PyErr_SetString(ErrorObject, "No callbacks implemented yet"); *filterProcP = my_filterProcUPP;
return 0;
} else if( typeListP && strcmp(keystr, "typeList") == 0 ) { } else if( typeListP && strcmp(keystr, "typeList") == 0 ) {
if ( !PyArg_Parse(value, "O&", ResObj_Convert, typeListP) ) if ( !PyArg_Parse(value, "O&", ResObj_Convert, typeListP) )
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment