diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index 66ca6ed003..0e7f869b63 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -412,7 +412,9 @@ bool wxTextCtrlBase::EmulateKeyPress(const wxKeyEvent& event) return true; } -#endif // !__WIN32__ +#else // __WIN32__ + wxUnusedVar(event); +#endif // !__WIN32__/__WIN32__ return false; }