Re: [Lazarus] Cocoa: restoring windows order after reactivating the application

2019-06-15 Thread Dmitry Boyarintsev via lazarus
managed types are not allowed in objc objects. as FPC doesn't manage them there (yet). On Saturday, June 15, 2019, AlexeyT via lazarus < lazarus@lists.lazarus-ide.org> wrote: > https://github.com/graemeg/lazarus/commit/4a95f3638a6ec38e6c > 975164b52c9f6d54c7ad10 > > orderArray. Better make its ty

[Lazarus] Cocoa: restoring windows order after reactivating the application

2019-06-15 Thread AlexeyT via lazarus
https://github.com/graemeg/lazarus/commit/4a95f3638a6ec38e6c975164b52c9f6d54c7ad10 orderArray. Better make its type "array of TWinOrderLevel" and set its size as SetLength(orderArray, N), and SetLength(orderArray, 0) to free. This is better practice, more pascalish way to allocate array. -- R