X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bd3b8eca1d6ef2749797f34216493fce0edd8d6..1a1498c08b07625baa087622e75637a2f15325b6:/src/gtk/taskbar.cpp?ds=sidebyside diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index cc61da167e..6ab0d2b009 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "taskbarpriv.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -75,15 +71,17 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported() // Pop-up menu stuff //----------------------------------------------------------------------------- -extern "C" void gtk_pop_hide_callback( GtkWidget *widget, bool* is_waiting ); +extern "C" WXDLLIMPEXP_CORE void gtk_pop_hide_callback( GtkWidget *widget, bool* is_waiting ); -extern void SetInvokingWindow( wxMenu *menu, wxWindow* win ); +extern WXDLLIMPEXP_CORE void SetInvokingWindow( wxMenu *menu, wxWindow* win ); -extern "C" void wxPopupMenuPositionCallback( GtkMenu *menu, - gint *x, gint *y, - gboolean * WXUNUSED(whatever), - gpointer user_data ); +extern "C" WXDLLIMPEXP_CORE + void wxPopupMenuPositionCallback( GtkMenu *menu, + gint *x, gint *y, + 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 +138,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)