diff --git a/src/cocoa/taskbar.mm b/src/cocoa/taskbar.mm index 1a5cd8e500..d6743993e2 100644 --- a/src/cocoa/taskbar.mm +++ b/src/cocoa/taskbar.mm @@ -63,7 +63,7 @@ public: protected: inline wxMenu* CreatePopupMenu() { wxASSERT(m_taskBarIcon); - m_taskBarIcon->CreatePopupMenu(); + return m_taskBarIcon->CreatePopupMenu(); } wxTaskBarIcon *m_taskBarIcon; wxTaskBarIconWindow *m_iconWindow;