diff options
-rw-r--r-- | include/tools/wintypes.hxx | 2 | ||||
-rw-r--r-- | vcl/source/control/imp_listbox.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx index 865d62c9e802..58050521c8cb 100644 --- a/include/tools/wintypes.hxx +++ b/include/tools/wintypes.hxx @@ -205,8 +205,6 @@ WinBits const WB_IGNORETAB = 0x20000000; // Window-Bits for ListBox and MultiListBox WinBits const WB_SIMPLEMODE = 0x20000000; -// Special case where the listbox is used as a dropdown popup (not a combobox) -WinBits const WB_LISTBOX_POPUP = 0x40000000; // Window-Bits for FixedBitmap WinBits const WB_SCALE = 0x08000000; diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx index b174d21c0f2e..795385434d67 100644 --- a/vcl/source/control/imp_listbox.cxx +++ b/vcl/source/control/imp_listbox.cxx @@ -467,7 +467,7 @@ ImplListBoxWindow::ImplListBoxWindow( vcl::Window* pParent, WinBits nWinStyle ) mbCenter = ( nWinStyle & WB_CENTER ); mbSimpleMode = ( nWinStyle & WB_SIMPLEMODE ); mbSort = ( nWinStyle & WB_SORT ); - mbIsDropdown = ( nWinStyle & WB_DROPDOWN ) || ( nWinStyle & WB_LISTBOX_POPUP ); + mbIsDropdown = ( nWinStyle & WB_DROPDOWN ); mbEdgeBlending = false; // pb: #106948# explicit mirroring for calc |