]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
really fixed wxConfig bug
[wxWidgets.git] / include / wx / fontutil.h
index 7defab993de20f0885ea3144dfa3138babc62761..b015bea0aa5451602ee546bfc56974cf2fa8b593 100644 (file)
 
 #include "wx/font.h"        // for wxFont and wxFontEncoding
 
 
 #include "wx/font.h"        // for wxFont and wxFontEncoding
 
+#if defined(__WXMSW__)
+#include <windows.h>
+#include "wx/msw/winundef.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // types
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // types
 // ----------------------------------------------------------------------------
@@ -39,6 +44,8 @@ struct WXDLLEXPORT wxNativeFontInfo
 {
 #if defined(__WXGTK__)
     wxString     xFontName;
 {
 #if defined(__WXGTK__)
     wxString     xFontName;
+#elif defined(__WXMSW__)
+    LOGFONT      lf;
 #else // other platforms
     //
     //  This is a generic implementation that should work on all ports
 #else // other platforms
     //
     //  This is a generic implementation that should work on all ports