// declarations
// ============================================================================
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "inpcons.h"
#endif
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();
}
// 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;
}