]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmndata.cpp
1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
[wxWidgets.git] / src / common / cmndata.cpp
index 2e5cabad1316714e533df518c076339584c3871a..c818294206cb3f1c4b1c75a17dd7860c954d06fe 100644 (file)
@@ -222,7 +222,7 @@ wxPrintData::~wxPrintData()
 
 #if defined(__WXMSW__) // && defined(__WIN32__)
 
-#ifdef __WIN32__
+#if defined(__WXDEBUG__) && defined(__WIN32__)
 static wxString wxGetPrintDlgError()
 {
     DWORD err = CommDlgExtendedError();