#include "wx/msw/printdlg.h"
#include "wx/math.h"
-#if wxUSE_COMMON_DIALOGS
- #include <commdlg.h>
-#endif
-
+#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
GlobalFree(pd.hDevMode);
pd.hDevMode=NULL;
}
- return ( deviceName != wxEmptyString );
+ return ( !deviceName.empty() );
}
// Gets an HDC for the specified printer configuration