1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/carbon/dialog.cpp
3 // Purpose: wxDialog class
4 // Author: Stefan Csomor
7 // Copyright: (c) Stefan Csomor
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #include "wx/wxprec.h"
13 #include "wx/dialog.h"
19 #include "wx/settings.h"
22 #include "wx/osx/private.h"
23 #include "wx/evtloop.h"
25 void wxDialog::EndWindowModal()
27 // Nothing to do for now.
30 void wxDialog::DoShowWindowModal()
32 // If someone wants to add support for this to wxOSX Carbon, here would
33 // be the place to start: http://trac.wxwidgets.org/ticket/9459
34 // Unfortunately, supporting sheets in Carbon isn't as straightforward
35 // as with Cocoa, so it will probably take some tweaking.
37 m_modality
= wxDIALOG_MODALITY_APP_MODAL
;
39 SendWindowModalDialogEvent ( wxEVT_WINDOW_MODAL_DIALOG_CLOSED
);