TAChart: Add a directive to the wmf demo to indicate that it is only available for Windows.

This commit is contained in:
wp_xyz 2022-05-13 18:39:11 +02:00
parent 8a33c15bd5
commit 6414f4a1d5
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ "TAChart_wmf" : {
"Category" : "TAChart",
"Keywords" : ["TAChart","wmf","Windows Only","Needs work"],
"Description" : "Saves a chart to a file in WMF format.\nAppears usable only under Windows, not tested there yet. May need editing to main.pas #41 to enable alt method of drawing."}
"Description" : "Saves a chart to a file in WMF format.\nRuns only on Windows. An alternative way to create WMF files is by using the fpvectorial drawer."}
}

View File

@ -2,6 +2,10 @@ unit Main;
{$mode objfpc}{$H+}
{$IFNDEF MSWindows}
This demo runs on Windows only.
{$ENDIF}
interface
uses