// Author: Vadim Zeitlin
// Modified by:
// Created: 14.08.00
-// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// declarations
// ============================================================================
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "inpcons.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#pragma hdrstop
#endif
+#ifndef WX_PRECOMP
+ #include "wx/window.h"
+#endif // WX_PRECOMP
+
#include "wx/univ/renderer.h"
#include "wx/univ/inphand.h"
#include "wx/univ/theme.h"
// input processing
// ----------------------------------------------------------------------------
+wxInputHandler *
+wxInputConsumer::DoGetStdInputHandler(wxInputHandler * WXUNUSED(handlerDef))
+{
+ return NULL;
+}
+
void wxInputConsumer::CreateInputHandler(const wxString& inphandler)
{
- m_inputHandler = wxTheme::Get()->GetInputHandler(inphandler);
+ m_inputHandler = wxTheme::Get()->GetInputHandler(inphandler, this);
}
void wxInputConsumer::OnKeyDown(wxKeyEvent& event)
{
if ( m_inputHandler )
{
- if ( event.Moving() || event.Entering() || event.Leaving() )
+ if ( event.Moving() || event.Dragging() ||
+ event.Entering() || event.Leaving() )
{
if ( m_inputHandler->HandleMouseMove(this, event) )
return;
{
return false;
}
-