]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/inpcons.cpp
cleanup image after application
[wxWidgets.git] / src / univ / inpcons.cpp
index 1dd3897c0b57c01e9997a9c378c5b204f3f0d084..8e52a895f43465f9ef9d8a0af8154de29b9065e7 100644 (file)
 // implementation
 // ============================================================================
 
-wxInputConsumer::wxInputConsumer()
-{
-    m_inputHandler = NULL;
-}
-
 // ----------------------------------------------------------------------------
 // focus/activation handling
 // ----------------------------------------------------------------------------
@@ -71,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();
 }
 
@@ -108,6 +103,6 @@ bool wxInputConsumer::PerformAction(const wxControlAction& WXUNUSED(action),
                                     long WXUNUSED(numArg),
                                     const wxString& WXUNUSED(strArg))
 {
-    return FALSE;
+    return false;
 }