X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/445e564f120fb194a554ef70a6f2187b7ce693ed..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/osx/dialog.h diff --git a/include/wx/osx/dialog.h b/include/wx/osx/dialog.h index 9442b94373..9efc8a59d2 100644 --- a/include/wx/osx/dialog.h +++ b/include/wx/osx/dialog.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dialog.h +// Name: wx/osx/dialog.h // Purpose: wxDialog class // Author: Stefan Csomor // Modified by: @@ -14,8 +14,6 @@ #include "wx/panel.h" -WXDLLIMPEXP_DATA_CORE(extern const char) wxDialogNameStr[]; - class WXDLLIMPEXP_FWD_CORE wxMacToolTip ; class WXDLLIMPEXP_FWD_CORE wxModalEventLoop ; @@ -56,12 +54,12 @@ public: // 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(); @@ -70,13 +68,13 @@ public: // -------------- 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. @@ -87,7 +85,7 @@ protected: wxDialogModality m_modality; - + wxModalEventLoop* m_eventLoop; private: