Fixed the docstring, default module is now wx, not wxPython.wx
[wxWidgets.git] / src / univ / inpcons.cpp
index 1f6a7d875556f9fa2edbb3b5ea32aa31d8d2771d..1dd3897c0b57c01e9997a9c378c5b204f3f0d084 100644 (file)
@@ -13,7 +13,7 @@
 // declarations
 // ============================================================================
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "inpcons.h"
 #endif
 
 // implementation
 // ============================================================================
 
+wxInputConsumer::wxInputConsumer()
+{
+    m_inputHandler = NULL;
+}
+
 // ----------------------------------------------------------------------------
 // focus/activation handling
 // ----------------------------------------------------------------------------
@@ -99,9 +104,9 @@ void wxInputConsumer::OnMouse(wxMouseEvent& event)
 // 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;
 }