git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60267
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// GTK+ signal handler
// ----------------------------------------------------------------------------
// GTK+ signal handler
// ----------------------------------------------------------------------------
-#if defined( __WXGTK20__ ) && GTK_CHECK_VERSION(2,12,0)
+#if defined( __WXGTK20__ )
+#if GTK_CHECK_VERSION(2,12,0)
extern "C" {
static
gboolean statusbar_query_tooltip(GtkWidget *widget,
extern "C" {
static
gboolean statusbar_query_tooltip(GtkWidget *widget,
// ----------------------------------------------------------------------------
// wxStatusBarGeneric
// ----------------------------------------------------------------------------
// wxStatusBarGeneric
-#if defined( __WXGTK20__ ) && GTK_CHECK_VERSION(2,12,0)
+#if defined( __WXGTK20__ )
+#if GTK_CHECK_VERSION(2,12,0)
if (HasFlag(wxST_SHOW_TIPS) && !gtk_check_version(2,12,0))
{
g_object_set(m_widget, "has-tooltip", TRUE, NULL);
g_signal_connect(m_widget, "query-tooltip",
G_CALLBACK(statusbar_query_tooltip), this);
}
if (HasFlag(wxST_SHOW_TIPS) && !gtk_check_version(2,12,0))
{
g_object_set(m_widget, "has-tooltip", TRUE, NULL);
g_signal_connect(m_widget, "query-tooltip",
G_CALLBACK(statusbar_query_tooltip), this);
}