]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dataview/dataview.cpp
Add a unit test for wxAffineMatrix2D class and its support in wxDC.
[wxWidgets.git] / samples / dataview / dataview.cpp
index ed3d828173440f534a0a6d51836a248f127bb5e9..b9d424622aed188f16748bc7dfa0589692cb23be 100644 (file)
@@ -189,7 +189,7 @@ public:
         return true;
     }
 
-    virtual bool Activate( wxRect WXUNUSED(cell),
+    virtual bool Activate( const wxRect& WXUNUSED(cell),
                            wxDataViewModel *WXUNUSED(model),
                            const wxDataViewItem &WXUNUSED(item),
                            unsigned int WXUNUSED(col) )
@@ -198,7 +198,8 @@ public:
         return false;
     }
 
-    virtual bool LeftClick( wxPoint cursor, wxRect WXUNUSED(cell),
+    virtual bool LeftClick(const wxPoint& cursor,
+                           const wxRect& WXUNUSED(cell),
                            wxDataViewModel *WXUNUSED(model),
                            const wxDataViewItem &WXUNUSED(item),
                            unsigned int WXUNUSED(col) )