Adding SetFocus to wxABI_VERSION.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-12-22 20:14:38 +00:00
parent cf6982fae6
commit 471046b088
3 changed files with 8 additions and 1 deletions

View 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;

View 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

View 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