Lookup result windows now force the first column size to be no great than 20 characters to avoid the code that calls the DB to find the length of the longest string in column, as the code used to get that value is not necessarily portable across all DB platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ee377e7f8b
commit
2197177140
@ -1452,7 +1452,8 @@ void CeditorDlg::OnCommand(wxWindow& win, wxCommandEvent& WXUNUSED(event))
|
||||
/* const wxString &orderBy */ wxT("NAME"),
|
||||
/* wxDb *pDb */ wxGetApp().READONLY_DB,
|
||||
/* const wxString &defDir */ wxGetApp().DbConnectInf->GetDefaultDir(),
|
||||
/* bool distinctValues*/ true);
|
||||
/* bool distinctValues*/ true,
|
||||
wxEmptyString, 20);
|
||||
|
||||
if (ListDB_Selection && wxStrlen(ListDB_Selection))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user