Added wxUSE_MENUS_NATIVE wrapper around DoPopupMenu to match header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
06223aa37a
commit
065f010fe3
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user