Hi Malcom,
Try adding a newline after the Implementation file comment template.
Then the following #if won't appear on a comment line, causing the
compilation problem.
Regards,
Julian
Malcolm Nealon wrote:
> Hello All,
>
> If all is well and good, the attached file should demonstrate a strange error I am having with Db.
>
> I designed a panel, which will form several notebook pages eventually.
>
> However it appears that DB (4.17) is inserting an erroneous #endif into the source. Regenerating the code doesn't change anything, so I am hazarding a guess that this could very well be a bug.
>
> Have I failed to do something? Or is this a DB quirk that needs understanding?
>
>
>
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
.