]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dialog.h
Change GetC to return an int so that it can return wxEOF on error.
[wxWidgets.git] / include / wx / gtk1 / dialog.h
index 6aac74cb964cd606ed20dec390e945c6e9e50d0c..da34a90902eb1df54f37991af3b8131575dddeb1 100644 (file)
@@ -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 );