X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..7b25d8e7bd0eca9f0f6efe62b3721d14c394dac9:/src/univ/inpcons.cpp diff --git a/src/univ/inpcons.cpp b/src/univ/inpcons.cpp index 1f6a7d8755..8e52a895f4 100644 --- a/src/univ/inpcons.cpp +++ b/src/univ/inpcons.cpp @@ -13,7 +13,7 @@ // declarations // ============================================================================ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "inpcons.h" #endif @@ -66,13 +66,13 @@ void wxInputConsumer::CreateInputHandler(const wxString& inphandler) void wxInputConsumer::OnKeyDown(wxKeyEvent& event) { - if ( !m_inputHandler || !m_inputHandler->HandleKey(this, event, TRUE) ) + if ( !m_inputHandler || !m_inputHandler->HandleKey(this, event, true) ) event.Skip(); } void wxInputConsumer::OnKeyUp(wxKeyEvent& event) { - if ( !m_inputHandler || !m_inputHandler->HandleKey(this, event, FALSE) ) + if ( !m_inputHandler || !m_inputHandler->HandleKey(this, event, false) ) event.Skip(); } @@ -99,10 +99,10 @@ void wxInputConsumer::OnMouse(wxMouseEvent& event) // the actions // ---------------------------------------------------------------------------- -bool wxInputConsumer::PerformAction(const wxControlAction& action, - long numArg, - const wxString& strArg) +bool wxInputConsumer::PerformAction(const wxControlAction& WXUNUSED(action), + long WXUNUSED(numArg), + const wxString& WXUNUSED(strArg)) { - return FALSE; + return false; }