X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4787c92d397bb4849b1248f5ba1875746434f4e2..632b58cdce7a1b62f7aa1a26acc61e5ced04494b:/src/gtk/print.cpp diff --git a/src/gtk/print.cpp b/src/gtk/print.cpp index 6076ef552f..beff9c1be2 100644 --- a/src/gtk/print.cpp +++ b/src/gtk/print.cpp @@ -3,7 +3,6 @@ // Author: Anthony Bretaudeau // Purpose: GTK printing support // Created: 2007-08-25 -// RCS-ID: $Id$ // Copyright: (c) 2007 wxWidgets development team // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// @@ -34,7 +33,7 @@ #include "wx/dynlib.h" #include "wx/paper.h" #include "wx/scopeguard.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #include @@ -624,7 +623,7 @@ wxGtkPrintDialog::~wxGtkPrintDialog() // This is called even if we actually don't want the dialog to appear. int wxGtkPrintDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); // We need to restore the settings given in the constructor. wxPrintData data = m_printDialogData.GetPrintData(); @@ -750,7 +749,7 @@ wxGtkPageSetupDialog::~wxGtkPageSetupDialog() int wxGtkPageSetupDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); // Get the config. m_pageDialogData.GetPrintData().ConvertToNative();