]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/fontdlg.cpp
fixed bug/assert failure when refreshing items in non report mode
[wxWidgets.git] / src / gtk1 / fontdlg.cpp
index 4b26ff00af42d2b17e5d4b8d13549c6147184491..b799105717c8d34387deb1772697f525c33f393c 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        fontdlg.cpp
+// Name:        gtk/fontdlg.cpp
 // Purpose:     wxFontDialog
 // Author:      Robert Roebling
 // Id:          $Id$
 #pragma implementation "fontdlg.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_FONTDLG
+
 #include "wx/fontutil.h"
 #include "wx/fontdlg.h"
 #include "wx/utils.h"
@@ -201,3 +205,5 @@ wxFontDialog::~wxFontDialog()
 {
 }
 
+#endif // wxUSE_FONTDLG
+