]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toplevel.cpp
use the same #if wxUSE_XXX checks in platform-specific files as around wxTextEntryBas...
[wxWidgets.git] / src / motif / toplevel.cpp
index aaa53556dab1b635d529f029d4786b77ee5f34aa..35af4ecfe61116e6ec113a463218c326f6897365 100644 (file)
@@ -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