X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca1ecff429d8e26aa604c802b1fce0fda6e8c188..511383f91b1443d576276c826fdfd5286f9dbbdb:/src/univ/inpcons.cpp?ds=sidebyside 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; } -