- GdkGC *gc = gdk_gc_new( pizza->bin_window );
- GdkFont *font = wxSMALL_FONT->GetInternalFont(1.0);
-
- gdk_gc_set_foreground( gc, &widget->style->bg[GTK_STATE_SELECTED] );
- gdk_draw_rectangle( pizza->bin_window, gc, TRUE,
- 3,
- 3,
- win->m_width - 7,
- font->ascent + font->descent+1 );
-
- gdk_gc_set_foreground( gc, &widget->style->fg[GTK_STATE_SELECTED] );
- gdk_draw_string( pizza->bin_window, font, gc,
- 6,
- 3+font->ascent,
- win->m_title.mb_str() );
-
- gdk_gc_unref( gc );
- }
-}
-
-//-----------------------------------------------------------------------------
-// "draw" of m_mainWidget
-//-----------------------------------------------------------------------------
-
-static void gtk_window_own_draw_callback( GtkWidget *widget, GdkRectangle *WXUNUSED(rect), wxFrame *win )
-{
- if (g_isIdle) wxapp_install_idle_handler();
-
- if (!win->m_hasVMT) return;