TPrintDialog in win32 does not work
Original Reporter info from Mantis: Petr-K
-
Reporter name:
Original Reporter info from Mantis: Petr-K
- Reporter name:
Description:
If PrintDialog is compiled with USEUNICODE define, then for example Copies settings does not work.
It is caused by bad type cast.
Object TPrinterDevice has member DevMode: PDeviceModeW, but in program are used
variables with bad type DevMode: PDeviceMode;
Patch against trunk #39991 (closed) is in the attachement.
Steps to reproduce:
Open PrinterDialog, change number of copies and close.
PrinterDialog.Copies does not corespond with your settings.
Mantis conversion info:
- Mantis ID: 23771
- Platform: win32
- Version: 1.1 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40016 (#e4345672)
- Target version: 1.2.0
- LazTarget: 1.2