Revision 31470 breaks compilation of AnchorDocking package
Original Reporter info from Mantis: dirks
-
Reporter name: Dirk Schiphorst
Original Reporter info from Mantis: dirks
- Reporter name: Dirk Schiphorst
Description:
r31470 changes the definiton of TWindowState in forms.pp to:
TWindowState = (wsNormal, wsMinimized, wsMaximized, wsFullScreen);
(line 69)
Error msg when compiling AnchorDocking:
Compiling anchordockpkg.pas
Compiling anchordocking.pas
Compiling anchordockstorage.pas
C:\dev\lazarus_trunk\examples\anchordocking\anchordockstorage.pas(266,5)
Error: Expected another 1 array elements
Additional information:
Code:
ADLWindowStateNames: array[TWindowState] of string = (
'Normal',
'Minimized',
'Maximized'
);
needs additional entry for fullscreen.
Attached patch works for me.
Mantis conversion info:
- Mantis ID: 19660
- OS: Windows
- OS Build: XP
- Build: Lazarus 0.9.31 r31476M FPC 2.5.1
- Platform: Windows
- Version: 0.9.31 (SVN)
- Fixed in revision: 31478 (#b847eb1c)