X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d05ff890b4e796f06e9de5829632b567e7219725..ec2df34e27ba41f202ecbf096cdfed082a9ddb8f:/src/osx/carbon/fontdlgosx.mm diff --git a/src/osx/carbon/fontdlgosx.mm b/src/osx/carbon/fontdlgosx.mm index 6c2ab56c81..0ac8bd7d55 100644 --- a/src/osx/carbon/fontdlgosx.mm +++ b/src/osx/carbon/fontdlgosx.mm @@ -28,6 +28,7 @@ #endif #include "wx/fontutil.h" +#include "wx/modalhook.h" // ============================================================================ // implementation @@ -434,6 +435,8 @@ bool wxFontDialog::Create(wxWindow *parent) int wxFontDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + //Start the pool. Required for carbon interaction //(For those curious, the only thing that happens //if you don't do this is a bunch of error