Added ignoreBadRefs so e.g. the PMF manual doesn't generate bad references to

wxWindows classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-01-03 18:23:35 +00:00
parent 4aaef122cb
commit bf16085dc0
6 changed files with 46 additions and 23 deletions

View File

@@ -1906,7 +1906,8 @@ bool HTMLOnArgument(int macroId, int arg_no, bool start)
{
if (helpRefText)
TraverseChildrenFromChunk(helpRefText);
TexOutput(" (REF NOT FOUND)");
if (!ignoreBadRefs)
TexOutput(" (REF NOT FOUND)");
wxString errBuf;
errBuf.Printf("Warning: unresolved reference '%s'", refName);
OnInform((char *)errBuf.c_str());