TGtkWidgetSet.CallWindowProc not implemented correctly?
Original Reporter info from Mantis: Phil
-
Reporter name:
Original Reporter info from Mantis: Phil
- Reporter name:
Description:
It appears as though TGtkWidgetSet.CallWindowProc assumes the pointer passed to SetWindowLong with GWL_WNDPROC points to an object method rather than a function.
This is not consistent with the way CallWindowProc is defined in Windows. Any code that calls CallWindowProc on GTK would probably crash if it passes in the normal function pointer as done on Windows.
Mantis conversion info:
- Mantis ID: 8605
- OS: OS X
- OS Build: 10.4.9
- Build: 20070330 snapshot
- Platform: PowerPC
- Version: 0.9.21 (SVN)
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.0.0
- LazTarget: 1.0