X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..03dc5fadefcef0fe2d3dde81611532d115eded30:/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