- int n, nFacenames = fontEnumerator.GetFacenames().GetCount();
- wxLogStatus(this, "Found %d %sfonts",
- nFacenames, fixedWidthOnly ? "fixed width " : "");
-
- wxString *facenames = new wxString[nFacenames];
- for ( n = 0; n < nFacenames; n++ )
- facenames[n] = fontEnumerator.GetFacenames().Item(n);
+ int nFacenames = fontEnumerator.GetFacenames().GetCount();
+ if ( !silent )
+ {
+ wxLogStatus(this, "Found %d %sfonts",
+ nFacenames, fixedWidthOnly ? "fixed width " : "");
+ }