]> git.saurik.com Git - wxWidgets.git/commitdiff
Adding SetFocus to wxABI_VERSION.
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 22 Dec 2006 20:14:38 +0000 (20:14 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 22 Dec 2006 20:14:38 +0000 (20:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/listctrl.h
src/mac/carbon/listctrl_mac.cpp
version-script.in

index 137ab881833032dca4a9afc9a294e3b906988412..821f2568ab70757d305b461efe2f6f02b39e903c 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;
@@ -341,8 +342,10 @@ class WXDLLEXPORT wxListCtrl: public wxControl
   
   virtual int GetScrollPos(int orient) const;
   
+#if wxABI_VERSION >= 20801
   virtual void SetFocus();
-  
+#endif
+
   virtual void SetDropTarget( wxDropTarget *dropTarget );
   virtual wxDropTarget* GetDropTarget() const;
   
index a325ce5c48eee4b47127ee4abddb29c02cbac2d1..1ff5991fec86a40cc2079a9d8fa76e5823e17594 100644 (file)
@@ -2200,6 +2200,7 @@ wxDropTarget *wxListCtrl::GetDropTarget() const
     return NULL;
 }
 
+#if wxABI_VERSION >= 20801
 void wxListCtrl::SetFocus()
 {
         if (m_genericImpl)
@@ -2210,6 +2211,7 @@ void wxListCtrl::SetFocus()
        
         wxWindow::SetFocus();
 }
+#endif
 
 // wxMac internal data structures
 
index 123b09747a683a13ead9a1f7ce978044428e77cb..48a25ab1a42148eeb1c1bffe5242f5ab623852f2 100644 (file)
@@ -30,6 +30,8 @@
         # wx{Dir|File}Dialog::Get/SetStyle()
         *wxFileDialog*etStyle*;
         *wxDirDialog*etStyle*;
+        # Mac OS X only, but it still must go in IIUC
+        *wxListCtrl*SetFocus*;
 };
 
 # symbols available since the beginning of this branch are only given