X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca1ecff429d8e26aa604c802b1fce0fda6e8c188..da1f0e87e2c24ad9ee7647261dd986ad3e8d60eb:/src/univ/inpcons.cpp diff --git a/src/univ/inpcons.cpp b/src/univ/inpcons.cpp index 793efab2fe..7da3181e07 100644 --- a/src/univ/inpcons.cpp +++ b/src/univ/inpcons.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "inpcons.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -27,6 +23,10 @@ #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" @@ -59,9 +59,15 @@ void wxInputConsumer::OnActivate(wxActivateEvent& event) // 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) @@ -106,4 +112,3 @@ bool wxInputConsumer::PerformAction(const wxControlAction& WXUNUSED(action), { return false; } -