- virtual bool OnFontEncoding(const wxString& WXUNUSED(family),
- const wxString& WXUNUSED(encoding))
- { return FALSE; }
+ virtual bool OnFontEncoding(const wxString& WXUNUSED(facename),
+ const wxString& encoding)
+ {
+ if (m_Encodings == NULL) m_Encodings = new wxArrayString;
+ m_Encodings -> Add(encoding);
+ return TRUE;
+ }
+
+ // convenience function that returns array of facenames. Cannot be called
+ // before EnumerateFacenames.
+ wxArrayString *GetFacenames()
+ { return m_Facenames; }