#include "wx/dynlib.h"
#include "wx/paper.h"
#include "wx/dcprint.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-print-pango.h>
int wxGnomePrintDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
int response = gtk_dialog_run (GTK_DIALOG (m_widget));
int wxGnomePageSetupDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
wxGnomePrintNativeData *native =
(wxGnomePrintNativeData*) m_pageDialogData.GetPrintData().GetNativeData();