X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7798a18ec81d3733082bc60a958fac1d4510faca..637f467a0639bf942ebeb466d056fa339bfdbdee:/src/msw/tabctrl.cpp diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index 179c51311c..cec9af4086 100644 --- a/src/msw/tabctrl.cpp +++ b/src/msw/tabctrl.cpp @@ -145,12 +145,12 @@ void wxTabCtrl::Command(wxCommandEvent& event) { } -bool wxTabCtrl::MSWCommand(const WXUINT cmd, const WXWORD id) +bool wxTabCtrl::MSWCommand(WXUINT cmd, WXWORD id) { return FALSE; } -bool wxTabCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam) +bool wxTabCtrl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam) { wxTabEvent event(wxEVT_NULL, m_windowId); wxEventType eventType = wxEVT_NULL; @@ -228,6 +228,12 @@ int wxTabCtrl::GetSelection() const return (int) TabCtrl_GetCurSel( (HWND) GetHWND() ); } +// Get the tab with the current keyboard focus +int wxTabCtrl::GetCurFocus() const +{ + return (int) TabCtrl_GetCurFocus( (HWND) GetHWND() ); +} + // Get the associated image list wxImageList* wxTabCtrl::GetImageList() const {