git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60183
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// wxWindowsPrintNativeData
//----------------------------------------------------------------------------
+#if wxDEBUG_LEVEL
+
static wxString wxGetPrintDlgError()
{
DWORD err = CommDlgExtendedError();
return msg;
}
+#endif // wxDEBUG_LEVEL
+
+
static HGLOBAL
wxCreateDevNames(const wxString& driverName,
const wxString& printerName,
pd.hDevMode = NULL;
pd.hDevNames = NULL;
+#ifdef wxDEBUG_LEVEL
wxLogDebug(wxT("Printing error: ") + wxGetPrintDlgError());
+#endif // wxDEBUG_LEVEL
}
else
{