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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 456d0fb6a2)
r14.1.x
Michele Calgaro 5 months ago
parent 8bb7d792c7
commit a131499f33
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