]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dataview.h
include wx/msw/winundef.g instead of writing just a subset of #undefs in wx/defs...
[wxWidgets.git] / include / wx / generic / dataview.h
index 10ddc2071ce66a444870dd5daa2c0b03fb9ff079..86f380353495b36d3ab3399312e8b4f1736b8720 100644 (file)
@@ -52,26 +52,26 @@ public:
 
     virtual bool Activate( wxRect WXUNUSED(cell),
                            wxDataViewModel *WXUNUSED(model),
-                           const wxDataViewItem & item
+                           const wxDataViewItem & WXUNUSED(item)
                            unsigned int WXUNUSED(col) )
                            { return false; }
 
     virtual bool LeftClick( wxPoint WXUNUSED(cursor),
                             wxRect WXUNUSED(cell),
                             wxDataViewModel *WXUNUSED(model),
-                            const wxDataViewItem & item
+                            const wxDataViewItem & WXUNUSED(item)
                             unsigned int WXUNUSED(col) )
                             { return false; }
     virtual bool RightClick( wxPoint WXUNUSED(cursor),
                              wxRect WXUNUSED(cell),
                              wxDataViewModel *WXUNUSED(model),
-                             const wxDataViewItem & item
+                             const wxDataViewItem & WXUNUSED(item)
                              unsigned int WXUNUSED(col) )
                              { return false; }
     virtual bool StartDrag( wxPoint WXUNUSED(cursor),
                             wxRect WXUNUSED(cell),
                             wxDataViewModel *WXUNUSED(model),
-                            const wxDataViewItem & item
+                            const wxDataViewItem & WXUNUSED(item)
                             unsigned int WXUNUSED(col) )
                             { return false; }
 
@@ -352,6 +352,8 @@ public:
     virtual void DoSetExpanderColumn();
     virtual void DoSetIndent();
 
+    virtual wxDataViewItem GetSelection() ;
+
 /********************selection code*********************
     virtual void SetSelection( int row ); // -1 for unselect
     virtual void SetSelectionRange( unsigned int from, unsigned int to );