projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include defs.h before including wxchar.h to make init.h self-contained (able to inclu...
[wxWidgets.git]
/
src
/
os2
/
dcprint.cpp
diff --git
a/src/os2/dcprint.cpp
b/src/os2/dcprint.cpp
index 655622d16f35f25be094df564710a29aa3158b4f..e71b9dc084f2c27935d15bc29d88fdd6980bd137 100644
(file)
--- a/
src/os2/dcprint.cpp
+++ b/
src/os2/dcprint.cpp
@@
-14,21
+14,21
@@
#if wxUSE_PRINTING_ARCHITECTURE
#if wxUSE_PRINTING_ARCHITECTURE
+#include "wx/dcprint.h"
+
#define INCL_DEV
#define INCL_GPI
#define INCL_PM
#include<os2.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"
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/math.h"
#include "wx/string.h"
+ #include "wx/log.h"
+ #include "wx/window.h"
#endif
#endif
-#include "wx/log.h"
-#include "wx/window.h"
#include "wx/os2/private.h"
IMPLEMENT_CLASS(wxPrinterDC, wxDC)
#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;
}
GlobalFree(pd.hDevMode);
pd.hDevMode=NULL;
}
- return
( deviceName != wxT("")
);
+ return
!deviceName.empty(
);
*/
return true;
} // end of wxGetDefaultDeviceName
*/
return true;
} // end of wxGetDefaultDeviceName