I wanted to implement the Windows Calendar Dialog from Lazarus's runner code into my own cross-platform Dialog API, however my library is MIT licensed and therefore not compatible license-wise with GPL/LGPL'd code. Would I need to re-license my software to either GPL or LGPL before I'd be able to use this 1 tiny piece of Lazarus's runner source? I can write my own version of the calendar dialog for Mac and Linux. I'm having a bit of trouble writing the Windows version and I was wondering if I could get permission to borrow code from the Lazarus project to do this one small task on Windows. Usually with licenses, the license terms only apply if substantial portions of code are reused for a different project, but then raises the question, how much code is considered substantial? If I can't use any portion of Lazarus's code without needing to re-license under GPL or LGPL, that is a solid deal breaker and I'll just have to study the calender control provided by Microsoft a little more, which isn't the end of the world. I just need to ensure my dialog fits all the controls including the calendar and OK/Cancel buttons regardless of the version of Windows and DPI settings used, which is the only roadblock I'm having. So anyway, just wondering.
Thanks!
Samuel