X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..f5766910b6731eb03e82371416e9778203396ce7:/src/os2/dcprint.cpp diff --git a/src/os2/dcprint.cpp b/src/os2/dcprint.cpp index edd3969173..e71b9dc084 100644 --- a/src/os2/dcprint.cpp +++ b/src/os2/dcprint.cpp @@ -14,21 +14,21 @@ #if wxUSE_PRINTING_ARCHITECTURE +#include "wx/dcprint.h" + #define INCL_DEV #define INCL_GPI #define INCL_PM #include -#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/window.h" #include "wx/os2/private.h" IMPLEMENT_CLASS(wxPrinterDC, wxDC) @@ -278,7 +278,7 @@ static bool wxGetDefaultDeviceName( wxString& rsDeviceName, wxString& rsPortName GlobalFree(pd.hDevMode); pd.hDevMode=NULL; } - return ( deviceName != wxT("") ); + return !deviceName.empty(); */ return true; } // end of wxGetDefaultDeviceName