TQtWidgetSet MessageBox title and text exchanged
- Lazarus/FPC Version: <Lazarus 2.3.0 (rev main-2_3-1408-gead96e37) FPC 3.3.1 x86_64-linux-gtk2>
- Operating System:
- CPU / Bitness: <emulation 64 Bit>
What happens
Widgetset QT5: Text and Caption are exchanged when uType = MB_YESNO or mb_taskmodal. This is in the else of : "case IconToMessageType(DefIcon) of"
What did you expect
change the code to the right order
Steps to reproduce
call MessageBox(hWnd, pchar(lpText), pchar(lpCaption), uType) with uType = MB_YESNO or mb_taskmodal. Text an Caption are exchanged