summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx2
-rw-r--r--dbaccess/source/ui/misc/WNameMatch.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 1d0b31fc5601..3e87504bee13 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -77,7 +77,7 @@ void DBTreeListBox::init()
EnableContextMenuHandling();
- SetStyle( GetStyle() | WB_QUICK_SEARCH );
+ SetQuickSearch( true );
}
DBTreeListBox::~DBTreeListBox()
diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx
index 1090938aafff..eda3d24611fa 100644
--- a/dbaccess/source/ui/misc/WNameMatch.cxx
+++ b/dbaccess/source/ui/misc/WNameMatch.cxx
@@ -68,8 +68,8 @@ OWizNameMatching::OWizNameMatching(vcl::Window* pParent)
m_pCTRL_RIGHT->SetSelectHdl(LINK(this,OWizNameMatching,TableListRightSelectHdl));
m_pCTRL_RIGHT->EnableCheckButton( nullptr );
- m_pCTRL_LEFT->SetStyle( m_pCTRL_LEFT->GetStyle() | WB_FORCE_MAKEVISIBLE );
- m_pCTRL_RIGHT->SetStyle( m_pCTRL_RIGHT->GetStyle() | WB_FORCE_MAKEVISIBLE );
+ m_pCTRL_LEFT->SetForceMakeVisible( true );
+ m_pCTRL_RIGHT->SetForceMakeVisible( true );
m_sSourceText = m_pTABLE_LEFT->GetText() + "\n";
m_sDestText = m_pTABLE_RIGHT->GetText() + "\n";