Replaced various '#define' with actual strings - part 3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/24/head
Michele Calgaro 12 months ago
parent db3abe1860
commit 456d0fb6a2
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -419,12 +419,12 @@ enum TQtMsgType {
};
SIP_PYCALLABLE tqInstallMsgHandler(SIP_PYCALLABLE /AllowNone/);
SIP_PYCALLABLE qInstallMsgHandler(SIP_PYCALLABLE /AllowNone/);
%MethodCode
void (*old)(TQtMsgType, const char *);
// Treat None as the default handler.
old = tqInstallMsgHandler((a0 != Py_None) ? pytqtMsgHandler : 0);
old = qInstallMsgHandler((a0 != Py_None) ? pytqtMsgHandler : 0);
// If we recognise the old handler, then return it. Otherwise return
// the default handler. This doesn't exactly mimic the TQt behaviour

Loading…
Cancel
Save