Fix compile errors when using gtk 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,9 +107,10 @@ Anders
|
|||||||
#include "wx/platform.h"
|
#include "wx/platform.h"
|
||||||
|
|
||||||
#include <gdk/gdkx.h>
|
#include <gdk/gdkx.h>
|
||||||
#include <gtk/gtkversion.h>
|
|
||||||
|
|
||||||
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0)
|
#ifdef __WXGTK20__
|
||||||
|
#include <gtk/gtkversion.h>
|
||||||
|
#if GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "eggtrayicon.h"
|
#include "eggtrayicon.h"
|
||||||
@@ -436,4 +437,5 @@ egg_tray_icon_cancel_message (EggTrayIcon *icon,
|
|||||||
id, 0, 0);
|
id, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __WXGTK20__ */
|
#endif // __WXGTK20__
|
||||||
|
#endif // GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
@@ -20,9 +20,10 @@
|
|||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
|
|
||||||
#include <gdk/gdkx.h>
|
#include <gdk/gdkx.h>
|
||||||
#include <gtk/gtkversion.h>
|
|
||||||
|
|
||||||
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0)
|
#ifdef __WXGTK20__
|
||||||
|
#include <gtk/gtkversion.h>
|
||||||
|
#if GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
|
||||||
#include "wx/gtk/taskbarpriv.h"
|
#include "wx/gtk/taskbarpriv.h"
|
||||||
#include "eggtrayicon.h"
|
#include "eggtrayicon.h"
|
||||||
@@ -66,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif // __WXGTK20__
|
#endif // __WXGTK20__
|
||||||
|
#endif // GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
@@ -107,9 +107,10 @@ Anders
|
|||||||
#include "wx/platform.h"
|
#include "wx/platform.h"
|
||||||
|
|
||||||
#include <gdk/gdkx.h>
|
#include <gdk/gdkx.h>
|
||||||
#include <gtk/gtkversion.h>
|
|
||||||
|
|
||||||
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0)
|
#ifdef __WXGTK20__
|
||||||
|
#include <gtk/gtkversion.h>
|
||||||
|
#if GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "eggtrayicon.h"
|
#include "eggtrayicon.h"
|
||||||
@@ -436,4 +437,5 @@ egg_tray_icon_cancel_message (EggTrayIcon *icon,
|
|||||||
id, 0, 0);
|
id, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __WXGTK20__ */
|
#endif // __WXGTK20__
|
||||||
|
#endif // GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
@@ -20,9 +20,10 @@
|
|||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
|
|
||||||
#include <gdk/gdkx.h>
|
#include <gdk/gdkx.h>
|
||||||
#include <gtk/gtkversion.h>
|
|
||||||
|
|
||||||
#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0)
|
#ifdef __WXGTK20__
|
||||||
|
#include <gtk/gtkversion.h>
|
||||||
|
#if GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
|
||||||
#include "wx/gtk/taskbarpriv.h"
|
#include "wx/gtk/taskbarpriv.h"
|
||||||
#include "eggtrayicon.h"
|
#include "eggtrayicon.h"
|
||||||
@@ -66,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif // __WXGTK20__
|
#endif // __WXGTK20__
|
||||||
|
#endif // GTK_CHECK_VERSION(2, 1, 0)
|
||||||
|
Reference in New Issue
Block a user