X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe08e597048268b58f76f240e3f3dff52cdd6ffe..57ff8a875bff6f8ba8a6616ed7095b74a835c622:/include/wx/mac/dialog.h diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index 6ae557e927..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,7 +64,7 @@ public: ~wxDialog(); - virtual bool Destroy(); +// virtual bool Destroy(); bool Show(bool show); void SetModal(bool flag); @@ -87,7 +87,7 @@ public: // -------------- // event handlers - bool OnClose(); +// bool OnClose(); void OnCharHook(wxKeyEvent& event); void OnCloseWindow(wxCloseEvent& event); @@ -99,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();