#if wxUSE_PRINTING_ARCHITECTURE
+#include "wx/dcprint.h"
+
#define INCL_DEV
#define INCL_GPI
#define INCL_PM
#include<os2.h>
-#include "wx/dcprint.h"
-
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/math.h"
#include "wx/string.h"
+ #include "wx/log.h"
+ #include "wx/window.h"
#endif
-#include "wx/log.h"
-#include "wx/window.h"
#include "wx/os2/private.h"
IMPLEMENT_CLASS(wxPrinterDC, wxDC)
GlobalFree(pd.hDevMode);
pd.hDevMode=NULL;
}
- return ( deviceName != wxT("") );
+ return !deviceName.empty();
*/
return true;
} // end of wxGetDefaultDeviceName