X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7fe42e848cc0c9058dae906c3a7bded50681e6..48e05747043db02c4e9d2e286eca4fdf5dee7881:/src/osx/carbon/fontdlg.cpp diff --git a/src/osx/carbon/fontdlg.cpp b/src/osx/carbon/fontdlg.cpp index 2aa22e63ec..b1ae442c78 100644 --- a/src/osx/carbon/fontdlg.cpp +++ b/src/osx/carbon/fontdlg.cpp @@ -42,7 +42,7 @@ #include "wx/fontdlg.h" #include "wx/fontutil.h" -#include "wx/testing.h" +#include "wx/modalhook.h" #if wxOSX_USE_EXPERIMENTAL_FONTDIALOG @@ -230,7 +230,7 @@ bool wxFontDialog::Create(wxWindow *parent, const wxFontData& data) int wxFontDialog::ShowModal() { - WX_TESTING_SHOW_MODAL_HOOK(); + WX_HOOK_MODAL_DIALOG(); #if wxOSX_USE_CARBON