]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/core/dataview.h
Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch.
[wxWidgets.git] / include / wx / osx / core / dataview.h
index e5d4be4a79553ff0afc0139d8c8969fb6bf4780c..a35f7324d50155313e2fc78028b20be16f42bcd1 100644 (file)
@@ -22,7 +22,7 @@ typedef wxWidgetImpl wxWidgetImplType;
 // ---------------------------------------------------------
 // Helper functions for dataview implementation on OSX
 // ---------------------------------------------------------
-wxWidgetImplType* CreateDataView(wxWindowMac* wxpeer, wxWindowMac* parent,  wxWindowID id, 
+wxWidgetImplType* CreateDataView(wxWindowMac* wxpeer, wxWindowMac* parent,  wxWindowID id,
                                  wxPoint const& pos, wxSize const& size,
                                  long style, long extraStyle);
 wxString ConcatenateDataViewItemValues(wxDataViewCtrl const* dataViewCtrlPtr, wxDataViewItem const& dataViewItem); // concatenates all data of the visible columns of the passed control
@@ -85,6 +85,9 @@ public:
  //
  // selection related methods
  //
+  virtual wxDataViewItem GetCurrentItem() const = 0;
+  virtual void SetCurrentItem(const wxDataViewItem& item) = 0;
+
   virtual int  GetSelections(wxDataViewItemArray& sel)   const = 0; // returns all selected items in the native control
   virtual bool IsSelected   (wxDataViewItem const& item) const = 0; // checks if the passed item is selected in the native control
   virtual void Select       (wxDataViewItem const& item)       = 0; // selects the passed item in the native control