diff --git a/src/localazy_gui.cpp b/src/localazy_gui.cpp index 0e87769e00..034e6691f1 100644 --- a/src/localazy_gui.cpp +++ b/src/localazy_gui.cpp @@ -275,7 +275,11 @@ void LocalazyLoginPanel::UpdateUserInfo() LocalazyClient::Get().GetUserProjects() .then_on_window(m_projects, [=](std::vector projects){ m_projects->DeleteAllItems(); + #ifdef __WXOSX__ + auto dummyIcon = wxArtProvider::GetIcon("AccountLocalazy"); + #else auto dummyIcon = wxArtProvider::GetIcon("AccountLocalazy", wxART_OTHER, wxSize(PX(16), PX(16))); + #endif unsigned idx = 0; for (auto p : projects)