diff options
Diffstat (limited to 'vcl/source/window/menubarwindow.cxx')
-rw-r--r-- | vcl/source/window/menubarwindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx index 83754722d925..8c21f8423349 100644 --- a/vcl/source/window/menubarwindow.cxx +++ b/vcl/source/window/menubarwindow.cxx @@ -989,8 +989,8 @@ void MenuBarWindow::StateChanged( StateChangedType nType ) { Window::StateChanged( nType ); - if ( ( nType == StateChangedType::CONTROLFOREGROUND ) || - ( nType == StateChangedType::CONTROLBACKGROUND ) ) + if ( ( nType == StateChangedType::ControlForeground ) || + ( nType == StateChangedType::ControlBackground ) ) { ImplInitMenuWindow( this, false, true ); Invalidate(); |