]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
argc == 0 bug fixed
[wxWidgets.git] / src / msw / font.cpp
index da43d01faccd2fc78d1f56b096a585b5de7e36fe..47f4ac63fa35bbb05e169cbf60efbfd1169e162f 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 #include "wx/msw/private.h"
-#include "assert.h"
+#include <assert.h>
 
 #if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
@@ -192,7 +192,7 @@ bool wxFont::RealizeResource(void)
     // up fonts. So, set ppInch to a constant 96 dpi.
     ppInch = 96;
     
-#if FONT_SIZE_COMPATIBILITY
+#if wxFONT_SIZE_COMPATIBILITY
     // Incorrect, but compatible with old wxWindows behaviour
     int nHeight = (M_FONTDATA->m_pointSize*ppInch/72);
 #else