]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
fix compilation without wxUSE_STREAMS (closes #10900)
[wxWidgets.git] / src / os2 / dcprint.cpp
index 6e92526a6fdbcf73709ed8c210103fdcd24c74e9..0ee065231e88617a3f37543eb303a381983dc6dd 100644 (file)
@@ -215,14 +215,14 @@ WXHDC WXDLLEXPORT wxGetPrinterDC( const wxPrintData& WXUNUSED(rPrintDataConst) )
     wxPrintData printData = printDataConst;
     printData.ConvertToNative();
 
-    wxChar* driverName = (wxChar*) NULL;
+    wxChar* driverName = NULL;
 
     wxString devNameStr = printData.GetPrinterName();
     wxChar* deviceName;
-    wxChar* portName = (wxChar*) NULL; // Obsolete in WIN32
+    wxChar* portName = NULL; // Obsolete in WIN32
 
     if (devNameStr.empty())
-        deviceName = (wxChar*) NULL;
+        deviceName = NULL;
     else
         deviceName = WXSTRINGCAST devNameStr;