Merge branch 'master' into fs_svg_SPE-1517

This commit is contained in:
Filip Sykala - NTB T15p 2023-09-27 14:37:07 +02:00
commit bd680e0206
2 changed files with 7 additions and 1 deletions

View File

@ -575,6 +575,12 @@ SearchDialog::SearchDialog(OptionsSearcher* searcher)
topSizer->SetSizeHints(this);
}
SearchDialog::~SearchDialog()
{
if (search_list_model)
search_list_model->DecRef();
}
void SearchDialog::Popup(wxPoint position /*= wxDefaultPosition*/)
{
const std::string& line = searcher->search_string();

View File

@ -182,7 +182,7 @@ class SearchDialog : public GUI::DPIDialog
public:
SearchDialog(OptionsSearcher* searcher);
~SearchDialog() {}
~SearchDialog();
void Popup(wxPoint position = wxDefaultPosition);
void ProcessSelection(wxDataViewItem selection);