X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd0b170911637899ac3c126367ee5821f357c185..674ac8b919eecbc201b5f23b470a567cd0565e10:/src/common/cmndata.cpp diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 2e5cabad13..c818294206 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -222,7 +222,7 @@ wxPrintData::~wxPrintData() #if defined(__WXMSW__) // && defined(__WIN32__) -#ifdef __WIN32__ +#if defined(__WXDEBUG__) && defined(__WIN32__) static wxString wxGetPrintDlgError() { DWORD err = CommDlgExtendedError();