gtk3: Allow working PageControl with some tabs hidden
Original Reporter info from Mantis: AntonK
-
Reporter name: Anton Kavalenka
Original Reporter info from Mantis: AntonK
- Reporter name: Anton Kavalenka
Description:
Currently two checks for amount of TGtk3Page and TTabSheet does not take in account hidden pages in TPageControl.
In such conditions amount of GTK3 pages is always less or equal to amount of TTabSheet.
The patch make working my way of multipage form constructor.
I.e. TTabSheet is allocated by docking TForm into TPageControl and then Form decides if it should be visible.
patch includes diff for #39007 (closed)
Mantis conversion info:
- Mantis ID: 39010
- Version: 2.1 (SVN)
- Fixed in revision: r65253 (#13f7dbd9)