X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05adb9d2fdc40d8620730be490bf406b8e367cf8..00976fe56baabfe05676ace71a9fea803fb5bb2e:/include/wx/mac/dialog.h diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index 78d8942e7c..fc58b6f03a 100644 --- a/include/wx/mac/dialog.h +++ b/include/wx/mac/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialog.h" #endif @@ -64,12 +64,8 @@ public: ~wxDialog(); - virtual bool Destroy(); +// virtual bool Destroy(); bool Show(bool show); - void Iconize(bool iconize); - virtual bool IsIconized() const; - - virtual bool IsTopLevel() const { return TRUE; } void SetModal(bool flag); virtual bool IsModal() const; @@ -91,7 +87,7 @@ public: // -------------- // event handlers - bool OnClose(); +// bool OnClose(); void OnCharHook(wxKeyEvent& event); void OnCloseWindow(wxCloseEvent& event); @@ -103,10 +99,6 @@ public: // Responds to colour changes void OnSysColourChanged(wxSysColourChangedEvent& event); - // override more base class virtuals - virtual void DoGetPosition(int *x, int *y) const; - virtual void DoSetClientSize(int width, int height); - // show modal dialog and enter modal loop void DoShowModal();