Remove some gtk warnings on application start.

This commit is contained in:
tamasmeszaros 2020-01-27 14:31:41 +01:00
parent 71574b2dd4
commit be8f464bf8
2 changed files with 9 additions and 3 deletions

View file

@ -171,6 +171,12 @@ private:
SettingsBundle m_freq_settings_sla;
#endif
inline void ensure_current_item_visible()
{
if (const auto &item = this->GetCurrentItem())
this->EnsureVisible(item);
}
public:
ObjectList(wxWindow* parent);
~ObjectList();