X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643e9cf9f61fdbe517b15477f9247ca8ac0b3578..0afeb753e0a6a3fdba290bf3612bb2f012d44d95:/src/osx/carbon/printdlg.cpp?ds=sidebyside diff --git a/src/osx/carbon/printdlg.cpp b/src/osx/carbon/printdlg.cpp index 2a9c234ec7..0729a4770a 100644 --- a/src/osx/carbon/printdlg.cpp +++ b/src/osx/carbon/printdlg.cpp @@ -28,11 +28,11 @@ #include "wx/osx/private/print.h" #include "wx/osx/private.h" #include "wx/statline.h" -#include "wx/testing.h" +#include "wx/modalhook.h" int wxMacPrintDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); m_printDialogData.GetPrintData().ConvertToNative(); ((wxOSXPrintData*)m_printDialogData.GetPrintData().GetNativeData())->TransferFrom( &m_printDialogData ); @@ -77,7 +77,7 @@ int wxMacPrintDialog::ShowModal() int wxMacPageSetupDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); m_pageSetupData.GetPrintData().ConvertToNative(); wxOSXPrintData* nativeData = (wxOSXPrintData*)m_pageSetupData.GetPrintData().GetNativeData();