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:
@@ -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>"));
|
||||
|
Reference in New Issue
Block a user