a better compilation fix after wxGTK_CONV changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-12 00:17:36 +00:00
parent c334a69083
commit 46e86fc347

View File

@@ -780,10 +780,11 @@ bool wxGnomePrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt )
gs_lgp->gnome_print_job_close( job );
if (m_native_preview)
{
const wxCharBuffer title(wxGTK_CONV_SYS(_("Print preview")));
GtkWidget *preview = gs_lgp->gnome_print_job_preview_new
(
job,
wxGTK_CONV_SYS(_("Print preview"))
(const guchar *)title.data()
);
gtk_widget_show(preview);
}