X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..a912e81f6409f4ae37ddb1f66d8474decd8da9aa:/src/motif/toplevel.cpp diff --git a/src/motif/toplevel.cpp b/src/motif/toplevel.cpp index aaa53556da..35af4ecfe6 100644 --- a/src/motif/toplevel.cpp +++ b/src/motif/toplevel.cpp @@ -72,8 +72,6 @@ void wxTopLevelWindowMotif::PreDestroy() { wxModelessWindows.DeleteObject(this); - m_icons.m_icons.Empty(); - DestroyChildren(); // MessageDialog and FileDialog do not have a client widget