diff --git a/src/msw/printdlg.cpp b/src/msw/printdlg.cpp index 251374b665..b0685c123c 100644 --- a/src/msw/printdlg.cpp +++ b/src/msw/printdlg.cpp @@ -369,7 +369,7 @@ bool wxWindowsPrintNativeData::TransferFrom( const wxPrintData &data ) pd.hDevMode = NULL; pd.hDevNames = NULL; -#ifdef wxDEBUG_LEVEL +#if wxDEBUG_LEVEL wxLogDebug(wxT("Printing error: ") + wxGetPrintDlgError()); #endif // wxDEBUG_LEVEL }