X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..5f3c1f2e2991d6c0a7d9eb4cb41a784c7dcc1707:/include/wx/gtk1/dialog.h diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index 2ae0638682..da34a90902 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dialog.h +// Name: wx/gtk1/dialog.h // Purpose: // Author: Robert Roebling // Created: @@ -23,7 +23,7 @@ class WXDLLIMPEXP_CORE wxDialog; // global data //----------------------------------------------------------------------------- -extern WXDLLIMPEXP_CORE const wxChar *wxDialogNameStr; +extern WXDLLIMPEXP_CORE const wxChar wxDialogNameStr[]; //----------------------------------------------------------------------------- // wxDialog @@ -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 );