]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/progdlgg.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / generic / progdlgg.h
index 7646649d4f65ddc81316591ea5cf28bbb27e5f88..4e3c3e183b5e2ec28eb774882a42ab672f6f78b3 100644 (file)
@@ -121,6 +121,10 @@ protected:
     // the dialog was shown
     void ReenableOtherWindows();
 
+    // Set the top level parent we store from the parent window provided when
+    // creating the dialog.
+    void SetTopParent(wxWindow* parent);
+
     // return the top level parent window of this dialog (may be NULL)
     wxWindow *GetTopParent() const { return m_parentTop; }