Remove wxSTC methods for configuring autocomp popup
The wxSTC methods AutoCompSetColours and AutoCompUseListCtrl were added
in fe7b332b7b
to allow some configuration
of the autocompletion popup window. Based on subsequent discussion, it
was decided that a better method of configuring the popup and getting
information about the configuration is needed. For now, simply remove
the current methods while the better solution is created.
In addition, since the configuration options are being removed, set the
popup to have the appearance of a list control since that was the
appearance before any configuration options were added.
This commit is contained in:
@@ -2356,7 +2356,7 @@ wxSTCListBoxVisualData::wxSTCListBoxVisualData(int d):m_desiredVisibleRows(d),
|
||||
m_useDefaultTextColour(true),
|
||||
m_useDefaultHighlightBgColour(true),
|
||||
m_useDefaultHighlightTextColour(true),
|
||||
m_hasListCtrlAppearance(false),
|
||||
m_hasListCtrlAppearance(true),
|
||||
m_useDefaultCurrentBgColour(true),
|
||||
m_useDefaultCurrentTextColour(true)
|
||||
{
|
||||
@@ -3163,18 +3163,6 @@ void ListBoxImpl::SetDoubleClickAction(CallBackAction action, void *data) {
|
||||
m_listBox->SetDoubleClickAction(action, data);
|
||||
}
|
||||
|
||||
void ListBoxImpl::SetColours(const wxColour& background, const wxColour& text,
|
||||
const wxColour& hiliBg, const wxColour& hiliText)
|
||||
{
|
||||
m_visualData->SetColours(background, text, hiliBg, hiliText);
|
||||
}
|
||||
|
||||
void ListBoxImpl::UseListCtrlStyle(bool useListCtrl, const wxColour& currentBg,
|
||||
const wxColour& currentText)
|
||||
{
|
||||
m_visualData->UseListCtrlStyle(useListCtrl, currentBg, currentText);
|
||||
}
|
||||
|
||||
|
||||
ListBox::ListBox() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user