]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
Added size event for status bar
[wxWidgets.git] / src / common / gdicmn.cpp
index 34df0496ceb30c201545a065ec5ac757de496fc1..30f08f8560b547238f370c0dd638397940192f77 100644 (file)
@@ -20,7 +20,7 @@
 #pragma hdrstop
 #endif
 
-
+#include "wx/event.h"
 #include "wx/gdicmn.h"
 #include "wx/brush.h"
 #include "wx/pen.h"
@@ -598,7 +598,7 @@ wxFont *wxFontList::
           //          each_font->GetFontId () == FamilyOrFontId) /* New font system */
           //#else
           each_font->GetFamily () == FamilyOrFontId &&
-          (!each_font->GetFaceName() || each_font->GetFaceName() == Face))
+          ((each_font->GetFaceName() == "") || each_font->GetFaceName() == Face))
         //#endif
         return each_font;
     }