]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/listctrl.h
Implement LIST_KEY_DOWN support, and move new functions into wxABI_VERSION.
[wxWidgets.git] / include / wx / mac / carbon / listctrl.h
index 9dbab2222362a84a8f29d3e75fb8f013f1db982e..6f34071e490f206bdb298d9d65333f167a1efb31 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef _WX_LISTCTRL_H_
 #define _WX_LISTCTRL_H_
 
+#include "wx/defs.h"
 #include "wx/generic/listctrl.h"
 
 class wxMacDataBrowserListCtrlControl;
@@ -339,6 +340,17 @@ class WXDLLEXPORT wxListCtrl: public wxControl
       SetFocus();
   }
   
+  virtual int GetScrollPos(int orient) const;
+  
+#if wxABI_VERSION >= 20801
+  void OnRightDown(wxMouseEvent& event);
+  void OnChar(wxKeyEvent& event);
+  virtual void SetFocus();
+#endif
+
+  virtual void SetDropTarget( wxDropTarget *dropTarget );
+  virtual wxDropTarget* GetDropTarget() const;
+  
   // with CG, we need to get the context from an kEventControlDraw event
   // unfortunately, the DataBrowser callbacks don't provide the context
   // and we need it, so we need to set/remove it before and after draw 
@@ -347,6 +359,7 @@ class WXDLLEXPORT wxListCtrl: public wxControl
   void* MacGetDrawingContext() { return m_cgContext; }
 
 protected:
+
   // protected overrides needed for pimpl approach
   virtual void DoSetSize(int x, int y,
                          int width, int height,