]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontdlg.cpp
added constructor for compliance with wxPython
[wxWidgets.git] / src / msw / fontdlg.cpp
index c9eed41aee776365dbbe798b2bf37c6c277bb900..c489e93c645a4bec6d94c866ab3a8f7a49ad7093 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        fontdlg.cpp
+// Name:        src/msw/fontdlg.cpp
 // Purpose:     wxFontDialog class
 // Author:      Julian Smart
 // Modified by:
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_FONTDLG
+
 #ifndef WX_PRECOMP
     #include "wx/defs.h"
     #include "wx/utils.h"
@@ -156,3 +158,5 @@ int wxFontDialog::ShowModal()
         return wxID_CANCEL;
     }
 }
+
+#endif // wxUSE_FONTDLG