7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 16:10:10 +00:00

Lambda capture this for a callafter

This commit is contained in:
Marek Roszko 2024-04-12 19:52:42 -04:00
parent 6c17e275fb
commit 5087c076c1

View File

@ -132,7 +132,7 @@ private:
void onDismiss( wxHyperlinkEvent& aEvent )
{
CallAfter(
[=]()
[this]()
{
// This will cause this panel to get deleted
m_manager->Remove( m_notification->key );