Angus Leeming wrote:
On Friday 25 October 2002 12:41 pm, Rob Lahaye wrote:
Not here it doesn't and my version is identical to that in cvs.
mv FormWrap.C FormWrap.C_safe
cvs update FormWrap.C
Ah, sorry, forgot to do a cvs update for that.
2) External.h has the line:
ButtonPolicy::SMInput input(FL_OBJECT *, long);
There's no "virtual" here. Is that on purpose or is it
missing by mistake?
sloppiness perhaps. It derives from FormBase which defines this
function as virtual. See André's note.
There seemed to be some consistency conflict. "virtual" is only
omitted in FormExternal.h, any other Form class header file has it.
That's what made me suspicious. For consistency reasons, either
add it in FormExternal.h, or remove it from all others.
$ cd src/frontends/xforms/
$ grep "ButtonPolicy::SMInput input(" *h | sed s'/ input(FL_OBJECT \*, long);//'
FormBase.h: virtual ButtonPolicy::SMInput
FormBibitem.h: virtual ButtonPolicy::SMInput
FormBibtex.h: virtual ButtonPolicy::SMInput
FormCharacter.h:virtual ButtonPolicy::SMInput
FormCitation.h: virtual ButtonPolicy::SMInput
FormExternal.h: ButtonPolicy::SMInput
FormFloat.h: virtual ButtonPolicy::SMInput
FormForks.h: virtual ButtonPolicy::SMInput
FormGraphics.h: virtual ButtonPolicy::SMInput
FormInclude.h: virtual ButtonPolicy::SMInput
FormMinipage.h: virtual ButtonPolicy::SMInput
FormParagraph.h:virtual ButtonPolicy::SMInput
FormPrint.h: virtual ButtonPolicy::SMInput
FormRef.h: virtual ButtonPolicy::SMInput
FormSearch.h: virtual ButtonPolicy::SMInput
FormSendto.h: virtual ButtonPolicy::SMInput
FormSpellchecker.h: virtual ButtonPolicy::SMInput
FormTexinfo.h: virtual ButtonPolicy::SMInput
FormThesaurus.h:virtual ButtonPolicy::SMInput
FormToc.h: virtual ButtonPolicy::SMInput
$
Regards,
Rob.