]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/print.cpp
Correctly initialize wxGtkPrintNativeData members.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Oct 2010 18:11:15 +0000 (18:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Oct 2010 18:11:15 +0000 (18:11 +0000)
commit820ec9bbc2ca025f9038b172a910617d8beb89a0
tree4b5d526ba9350e257ed6127e0c3a721f52122b60
parent676184202dbb8fd7a5c0818adac1db295eed2278
Correctly initialize wxGtkPrintNativeData members.

In particular, create a valid GtkPrintOperation object instead of using an
uninitialized pointer to it in wxGtkPrintDialog::ShowModal(), resulting in
crashes or, at best, GTK errors.

Closes #12483.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/print.h
src/gtk/print.cpp