wxUniv compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-10 12:25:46 +00:00
parent 7c36b6a2a1
commit 6522713c75
37 changed files with 170 additions and 147 deletions

View File

@@ -2260,11 +2260,13 @@ wxWindow *wxGetActiveWindow()
// wxWindowGTK
//-----------------------------------------------------------------------------
// in wxUniv/MSW this class is abstract because it doesn't have DoPopupMenu()
// method
#ifdef __WXUNIVERSAL__
IMPLEMENT_DYNAMIC_CLASS(wxWindowGTK, wxWindowBase)
#else
IMPLEMENT_ABSTRACT_CLASS(wxWindowGTK, wxWindowBase)
#else // __WXGTK__
IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
#endif
#endif // __WXUNIVERSAL__/__WXGTK__
void wxWindowGTK::Init()
{
@@ -3605,7 +3607,7 @@ void wxWindowGTK::ApplyWidgetStyle()
// Pop-up menu stuff
//-----------------------------------------------------------------------------
#if wxUSE_MENUS
#if wxUSE_MENUS_NATIVE
static void gtk_pop_hide_callback( GtkWidget *WXUNUSED(widget), bool* is_waiting )
{
@@ -3677,7 +3679,7 @@ bool wxWindowGTK::DoPopupMenu( wxMenu *menu, int x, int y )
return TRUE;
}
#endif // wxUSE_MENUS
#endif // wxUSE_MENUS_NATIVE
#if wxUSE_DRAG_AND_DROP