#include "wx/panel.h"
-WXDLLIMPEXP_DATA_CORE(extern const char) wxDialogNameStr[];
-
class WXDLLIMPEXP_FWD_CORE wxMacToolTip ;
class WXDLLIMPEXP_FWD_CORE wxModalEventLoop ;
// show the dialog modally and return the value passed to EndModal()
virtual int ShowModal();
-
+
virtual void ShowWindowModal();
// may be called to terminate the dialog with the given return code
virtual void EndModal(int retCode);
-
+
static bool OSXHasModalDialogsOpen();
static void OSXBeginModalDialog();
static void OSXEndModalDialog();
// --------------
wxDialogModality GetModality() const;
-
+
#if wxOSX_USE_COCOA
virtual void ModalFinishedCallback(void* WXUNUSED(panel), int WXUNUSED(returnCode)) {}
#endif
protected:
- // show window modal dialog
+ // show window modal dialog
void DoShowWindowModal();
// end window modal dialog.
wxDialogModality m_modality;
-
+
wxModalEventLoop* m_eventLoop;
private: