CodeTools definetemplate update for fpGUI widgetset
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
The CodeTools built-in defines are still for the old fpGUI. Because of this you cannot compile the LCL-fpGUI widgetset using the latest fpGUI. Attached is a patch that updates them and fixes some previous copy & paste issues where defines were added to the IfDef part instead of Else part. See attached screenshot of CodeTools Define Editor showing the problem and then after the patch how I believe it should look.
No another problem.
Even with the patch applie, I am unable to compile the LCL-fpGUI widget set. It can't find the include files in the platform specific directories. Looking at the messages window, I can see the problem. The platform specific Include paths are not all added to IncPath. The code in the definestemplate unit looks correct, even compared to other code from other widget sets. If I add that include path manually and run the compile line from the command prompt, the LCL-fpGUI widgetset compiles correctly.
Mantis conversion info:
- Mantis ID: 11024
- OS: Ubuntu Linux
- OS Build: 7.04
- Build: v0.9.25 r14596M i386-linux-gtk
- Platform: x86
- Version: 0.9.25 (SVN)
- Target version: 0.9.26