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:
@@ -780,10 +780,11 @@ bool wxGnomePrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt )
|
|||||||
gs_lgp->gnome_print_job_close( job );
|
gs_lgp->gnome_print_job_close( job );
|
||||||
if (m_native_preview)
|
if (m_native_preview)
|
||||||
{
|
{
|
||||||
|
const wxCharBuffer title(wxGTK_CONV_SYS(_("Print preview")));
|
||||||
GtkWidget *preview = gs_lgp->gnome_print_job_preview_new
|
GtkWidget *preview = gs_lgp->gnome_print_job_preview_new
|
||||||
(
|
(
|
||||||
job,
|
job,
|
||||||
wxGTK_CONV_SYS(_("Print preview"))
|
(const guchar *)title.data()
|
||||||
);
|
);
|
||||||
gtk_widget_show(preview);
|
gtk_widget_show(preview);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user