X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..278d7ab4469db37ed930b66ebb2fd962133fe49d:/include/wx/gtk1/dialog.h diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index 6aac74cb96..7a1cff23d1 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -17,7 +17,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxDialog; +class WXDLLIMPEXP_FWD_CORE wxDialog; //----------------------------------------------------------------------------- // global data @@ -45,7 +45,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString &name = wxDialogNameStr ); - ~wxDialog() {} + virtual ~wxDialog() {} void OnApply( wxCommandEvent &event ); void OnCancel( wxCommandEvent &event );