]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/osx/carbon/dialog.cpp
Make @genericAppearance Doxygen macro consistent with @appearance.
[wxWidgets.git] / src / osx / carbon / dialog.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/osx/carbon/dialog.cpp
3// Purpose: wxDialog class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// Copyright: (c) Stefan Csomor
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#include "wx/wxprec.h"
12
13#include "wx/dialog.h"
14
15#ifndef WX_PRECOMP
16 #include "wx/app.h"
17 #include "wx/utils.h"
18 #include "wx/frame.h"
19 #include "wx/settings.h"
20#endif // WX_PRECOMP
21
22#include "wx/osx/private.h"
23#include "wx/evtloop.h"
24
25void wxDialog::EndWindowModal()
26{
27 // Nothing to do for now.
28}
29
30void wxDialog::DoShowWindowModal()
31{
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.
36
37 m_modality = wxDIALOG_MODALITY_APP_MODAL;
38 ShowModal();
39 SendWindowModalDialogEvent ( wxEVT_WINDOW_MODAL_DIALOG_CLOSED );
40}