- {
- if (tb->m_fg->red == 0)
- {
- tb->m_fg->red = 33000;
- tb->m_fg->green = 33000;
- tb->m_fg->blue = 33000;
- gdk_color_alloc( gtk_widget_get_colormap( GTK_WIDGET(tb->m_toolbar) ), tb->m_fg );
- gtk_tooltips_set_colors( GTK_TOOLBAR(tb->m_toolbar)->tooltips, tb->m_bg, tb->m_fg );
- }
- }
-#endif
-
- /* emit the event */
-
- tb->OnMouseEnter( tool->GetId() );