]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/preferences.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / preferences.h
index 1a07fd857bd9ac1db0c1b2d06029f3c4ccf2c14d..fb6387a0757a8314ae8d66c0c01e189add01354b 100644 (file)
@@ -93,7 +93,9 @@ class WXDLLIMPEXP_CORE wxPreferencesEditor
 public:
     // Ctor creates an empty editor, use AddPage() to add controls to it.
     wxPreferencesEditor(const wxString& title = wxString());
-    ~wxPreferencesEditor();
+
+    // Dtor destroys the dialog if still shown.
+    virtual ~wxPreferencesEditor();
 
     // Add a new page to the editor. The editor takes ownership of the page
     // and won't delete it until it is destroyed itself.