diff options
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/button.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/edit.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 2ee5d5e13f65..9998c2292e03 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -2264,7 +2264,7 @@ void RadioButton::ImplUncheckAllOther() } } -void RadioButton::ImplCallClick( bool bGrabFocus, sal_uInt16 nFocusFlags ) +void RadioButton::ImplCallClick( bool bGrabFocus, GetFocusFlags nFocusFlags ) { mbStateChanged = !mbChecked; mbChecked = true; diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 6ff15da2302e..e83ae507aa7d 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1901,7 +1901,7 @@ void Edit::GetFocus() SelectionOptions nSelOptions = GetSettings().GetStyleSettings().GetSelectionOptions(); if ( !( GetStyle() & (WB_NOHIDESELECTION|WB_READONLY) ) - && ( GetGetFocusFlags() & (GETFOCUS_INIT|GETFOCUS_TAB|GETFOCUS_CURSOR|GETFOCUS_MNEMONIC) ) ) + && ( GetGetFocusFlags() & (GetFocusFlags::Init|GetFocusFlags::Tab|GetFocusFlags::Cursor|GetFocusFlags::Mnemonic) ) ) { if ( nSelOptions & SelectionOptions::ShowFirst ) { diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index fc3cad5cb4e6..76b9e391e6a4 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -646,7 +646,7 @@ void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId ) sal_uInt16 n = 0; vcl::Window* pFirstChild = pPage->ImplGetDlgWindow( n, GetDlgWindowType::First ); if ( pFirstChild ) - pFirstChild->ImplControlFocus( GETFOCUS_INIT ); + pFirstChild->ImplControlFocus( GetFocusFlags::Init ); else GrabFocus(); } |