compilation fixes after recent wxFontEnumerator changes in USE_NATIVE_FONT_DIALOG_FOR_MACOSX == 0 case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-08-13 22:36:50 +00:00
parent 78e9b418da
commit 89bb8035c8

View File

@ -535,18 +535,18 @@ void wxFontDialog::CreateControls()
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString* facenames = enumerator.GetFacenames();
wxArrayString facenames = enumerator.GetFacenames();
if (facenames)
{
facenames->Add(_("<Any>"));
facenames->Add(_("<Any Roman>"));
facenames->Add(_("<Any Decorative>"));
facenames->Add(_("<Any Modern>"));
facenames->Add(_("<Any Script>"));
facenames->Add(_("<Any Swiss>"));
facenames->Add(_("<Any Teletype>"));
facenames->Sort();
m_facenameCtrl->Append(*facenames);
facenames.Add(_("<Any>"));
facenames.Add(_("<Any Roman>"));
facenames.Add(_("<Any Decorative>"));
facenames.Add(_("<Any Modern>"));
facenames.Add(_("<Any Script>"));
facenames.Add(_("<Any Swiss>"));
facenames.Add(_("<Any Teletype>"));
facenames.Sort();
m_facenameCtrl->Append(facenames);
}
InitializeControls();