X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bd3b8eca1d6ef2749797f34216493fce0edd8d6..caa2490c0fb8053b1d416117a9619695d75af9e4:/src/gtk1/taskbar.cpp diff --git a/src/gtk1/taskbar.cpp b/src/gtk1/taskbar.cpp index cc61da167e..1badc0a089 100644 --- a/src/gtk1/taskbar.cpp +++ b/src/gtk1/taskbar.cpp @@ -84,6 +84,7 @@ extern "C" void wxPopupMenuPositionCallback( GtkMenu *menu, gboolean * WXUNUSED(whatever), gpointer user_data ); +#if wxUSE_MENUS_NATIVE bool wxTaskBarIconAreaBase::DoPopupMenu( wxMenu *menu, int x, int y ) { wxCHECK_MSG( m_widget != NULL, false, wxT("invalid window") ); @@ -140,6 +141,7 @@ bool wxTaskBarIconAreaBase::DoPopupMenu( wxMenu *menu, int x, int y ) return true; } +#endif // wxUSE_MENUS_NATIVE #endif // __WXGTK20__ #endif // GTK_CHECK_VERSION(2, 1, 0)