#include "wx/dcprint.h"
#include "wx/printdlg.h"
-#include "math.h"
-
-#if wxUSE_COMMON_DIALOGS
- #include <commdlg.h>
-#endif
+#include "wx/msw/printdlg.h"
+#include "wx/math.h"
+#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
wxString filename(m_printData.GetFilename());
- if (filename.IsEmpty())
+ if (filename.empty())
docinfo.lpszOutput = NULL;
else
docinfo.lpszOutput = (const wxChar *) filename;