summaryrefslogtreecommitdiff
path: root/vcl/source/control/ilstbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ilstbox.cxx')
-rw-r--r--vcl/source/control/ilstbox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 2425147a13a7..61fa49caa611 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -2794,9 +2794,9 @@ void ImplWin::ImplDraw( bool bLayout )
ImplControlValue aControlValue;
if ( !pWin->IsEnabled() )
- nState &= ~CTRL_STATE_ENABLED;
+ nState &= ~CTRL_STATE_ENABLED;
if ( pWin->HasFocus() )
- nState |= CTRL_STATE_FOCUSED;
+ nState |= CTRL_STATE_FOCUSED;
// The listbox is painted over the entire control including the
// border, but ImplWin does not contain the border => correction