compilation fix for wxOSX_USE_EXPERIMENTAL_FONTDIALOG==0 (closes #10834)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-24 17:27:51 +00:00
parent 787de19a13
commit e8b9048267

View File

@@ -588,7 +588,7 @@ void wxFontDialog::CreateControls()
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString facenames = enumerator.GetFacenames();
if (facenames)
if (!facenames.empty())
{
facenames.Add(_("<Any>"));
facenames.Add(_("<Any Roman>"));