gtk2: Button and BitBtn have different rendering of ampersands
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
Make new form, place 4 controls
- Panel
- Label
- Button
- BitBtn
set them all the caption "aa&bb&cc_dd_ee".
At least button+bitbtn must have the same renreding. But it is not the same. One button shows ampresands, another don't.
Steps to reproduce:
-
gtk2wsstdctrls.pp
class procedure TGtk2WSButton.SetText(const AWinControl: TWinControl; const AText: String); -
gtk2wsbuttons.pp
class procedure TGtk2WSBitBtn.SetText(const AWinControl: TWinControl; const AText: String);
maybe reason there?
Mantis conversion info:
- Mantis ID: 35852
- Version: 2.1 (SVN)