]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontdlgg.cpp
fixed xpm colour parsing bug due to case sensitive colour name comparison
[wxWidgets.git] / src / generic / fontdlgg.cpp
index a7c96f96672a7095513628e31b7afae0b823bc43..90de224fe031c43d18445dc84030df38178a4ec0 100644 (file)
@@ -34,6 +34,8 @@
 #include "wx/intl.h"
 #endif
 
+#if wxUSE_FONTDLG
+
 #include <string.h>
 #include <stdlib.h>
 
@@ -447,4 +449,6 @@ int wxFontWeightStringToInt(wxChar *weight)
     return wxNORMAL;
 }
 
+#endif
+    // wxUSE_FONTDLG