support Gtk drawing on Windows