X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..3b49331b7441e091fc5997b830801d76a1243f28:/include/wx/cocoa/dialog.h diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index f0a8f6dda2..b05ae8d104 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -25,7 +25,6 @@ WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[]; class WXDLLEXPORT wxDialog : public wxDialogBase, protected wxCocoaNSPanel { DECLARE_DYNAMIC_CLASS(wxDialog) - DECLARE_EVENT_TABLE() WX_DECLARE_COCOA_OWNER(NSPanel,NSWindow,NSWindow) // ------------------------------------------------------------------------ // initialization @@ -66,7 +65,7 @@ public: long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxDialogNameStr); - ~wxDialog(); + virtual ~wxDialog(); protected: void Init(); @@ -93,20 +92,6 @@ public: // may be called to terminate the dialog with the given return code virtual void EndModal(int retCode); - -// ------------------------------------------------------------------------ -// Event handlers -// ------------------------------------------------------------------------ -protected: - void OnCloseWindow(wxCloseEvent& event); - // Standard buttons - void OnOK(wxCommandEvent& event); - void OnApply(wxCommandEvent& event); - void OnCancel(wxCommandEvent& event); - - // end either modal or modeless dialog - void EndDialog(int rc); - }; #endif // _WX_COCOA_DIALOG_H_