Exemple #1
0
        //---------------------------------------------------------------------

        public FontEnumerator()
            : this(wxFontEnumerator_ctor(), true)
        {
            virtual_EnumerateFacenames = new Virtual_EnumerateFacenames(DoEnumerateFacenames);
            virtual_EnumerateEncodings = new Virtual_EnumerateEncodings(DoEnumerateEncodings);
            virtual_OnFacename         = new Virtual_OnFacename(DoOnFacename);
            virtual_OnFontEncoding     = new Virtual_OnFontEncoding(DoOnFontEncoding);

            wxFontEnumerator_RegisterVirtual(wxObject,
                                             virtual_EnumerateFacenames,
                                             virtual_EnumerateEncodings,
                                             virtual_OnFacename,
                                             virtual_OnFontEncoding);
        }
Exemple #2
0
 [DllImport("wx-c"), System.Security.SuppressUnmanagedCodeSecurity] static extern void wxFontEnumerator_RegisterVirtual(IntPtr self, Virtual_EnumerateFacenames enumerateFacenames, Virtual_EnumerateEncodings enumerateEncodings, Virtual_OnFacename onFacename, Virtual_OnFontEncoding onFontEncoding);