]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/PlatWX.cpp
don't pass potentially negative index to SetSelection()
[wxWidgets.git] / src / stc / PlatWX.cpp
index ab2cb5c06ab0951c300eebae10992b9c8cb00b22..7a072ae63d81902c82802d03739e935e844af4b7 100644 (file)
@@ -1434,6 +1434,8 @@ void Platform::DebugPrintf(const char *format, ...) {
     vsprintf(buffer,format,pArguments);
     va_end(pArguments);
     Platform::DebugDisplay(buffer);
+#else
+    wxUnusedVar(format);
 #endif
 }