X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643e9cf9f61fdbe517b15477f9247ca8ac0b3578..7c60222510bc5e197b12f153c4bf05db66cb0f4a:/src/osx/cocoa/printdlg.mm?ds=sidebyside diff --git a/src/osx/cocoa/printdlg.mm b/src/osx/cocoa/printdlg.mm index ef9268b377..f453778334 100644 --- a/src/osx/cocoa/printdlg.mm +++ b/src/osx/cocoa/printdlg.mm @@ -14,7 +14,7 @@ #if wxUSE_PRINTING_ARCHITECTURE #include "wx/printdlg.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #ifndef WX_PRECOMP #include "wx/object.h" @@ -60,7 +60,7 @@ void wxOSXCocoaPrintData::UpdateToPMState() int wxMacPrintDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); m_printDialogData.GetPrintData().ConvertToNative(); @@ -85,7 +85,7 @@ int wxMacPrintDialog::ShowModal() int wxMacPageSetupDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); m_pageSetupData.GetPrintData().ConvertToNative(); ((wxOSXCocoaPrintData*)m_pageSetupData.GetPrintData().GetNativeData())->TransferFrom( &m_pageSetupData );