]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/keyboard/keyboard.cpp
lastChar was defined as a char when it should have been an int
[wxWidgets.git] / samples / keyboard / keyboard.cpp
index ae4b8022e5eeaa33171da6b6788695e058d1a0c1..54ef746ff412e202f153852de3fb0fb53a3c08a0 100644 (file)
@@ -112,7 +112,7 @@ private:
         }
     }
 
-    virtual void DoLogString(const wxChar *szString, time_t t)
+    virtual void DoLogString(const wxChar *szString, time_t WXUNUSED(t))
     {
         wxString msg;
         TimeStamp(&msg);
@@ -154,7 +154,7 @@ protected:
     void OnKeyUp(wxKeyEvent& event) { LogEvent(_T("Key up"), event); }
     void OnChar(wxKeyEvent& event) { LogEvent(_T("Char"), event); }
 
-    void OnPaint(wxPaintEvent& event)
+    void OnPaint(wxPaintEvent& WXUNUSED(event))
     {
         wxPaintDC dc(this);
         dc.SetTextForeground(*wxWHITE);