-bool wxScreenDC::StartDrawingOnTop( wxWindow *WXUNUSED(window) )
-{
- return TRUE;
-/*
- if (!window)
- {
- StartDrawingOnTop();
- return;
- }
- wxRectangle rect;
- rect.x = 0;
- rect.y = 0;
- window->GetPosition( &rect.x, &rect.y );
- rect.width = 0;
- rect.height = 0;
- window->GetSize( &rect.width, &rect.height );
- window->ClientToScreen( &rect.x, &rect.y );
- StartDrawingOnTop( &rect );
- return TRUE;
-*/
-}
-
-bool wxScreenDC::StartDrawingOnTop( wxRectangle *WXUNUSED(rect) )
-{
- return TRUE;
-/*
- int x = 0;
- int y = 0;
- int width = gdk_screen_width();
- int height = gdk_screen_height();
- if (rect)
- {
- x = rect->x;
- y = rect->y;
- width = rect->width;
- height = rect->height;
- }
-
- GTK cannot set transparent backgrounds. :-(
+ m_context = gdk_pango_context_get();
+ // Note: The Sun customised version of Pango shipping with Solaris 10
+ // crashes if the language is left NULL (see bug 1374114)
+ pango_context_set_language( m_context, gtk_get_default_language() );
+ m_layout = pango_layout_new( m_context );
+// m_fontdesc = pango_font_description_copy( widget->style->font_desc );