]> git.saurik.com Git - wxWidgets.git/commitdiff
fix harmless unused parameter warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Sep 2007 00:39:04 +0000 (00:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Sep 2007 00:39:04 +0000 (00:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/textcmn.cpp

index 66ca6ed00349a56f3cdf2c6b50f72b72e6439ca2..0e7f869b633d161319aa2b27d63efd40787e13be 100644 (file)
@@ -412,7 +412,9 @@ bool wxTextCtrlBase::EmulateKeyPress(const wxKeyEvent& event)
 
         return true;
     }
-#endif // !__WIN32__
+#else // __WIN32__
+    wxUnusedVar(event);
+#endif // !__WIN32__/__WIN32__
 
     return false;
 }