]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
Updates for Y positioning
[wxWidgets.git] / src / x11 / toplevel.cpp
index 779bb40699c905c9ef277762d4bfa9e1bc71cc1b..54389a216103a29e51eda5516b6d5f4106b01ef4 100644 (file)
@@ -48,14 +48,6 @@ static bool SetWMDecorations(Widget w, long style);
 #endif
 static bool MWMIsRunning(Window w);
 
-
-// ----------------------------------------------------------------------------
-// globals
-// ----------------------------------------------------------------------------
-
-// list of all frames and modeless dialogs
-// wxWindowList wxModelessWindows;
-
 // ----------------------------------------------------------------------------
 // wxTopLevelWindowX11 creation
 // ----------------------------------------------------------------------------
@@ -164,9 +156,6 @@ wxTopLevelWindowX11::~wxTopLevelWindowX11()
 {
     wxTopLevelWindows.DeleteObject(this);
 
-    if ( wxModelessWindows.Find(this) )
-        wxModelessWindows.DeleteObject(this);
-
     // If this is the last top-level window, exit.
     if ( wxTheApp && (wxTopLevelWindows.Number() == 0) )
     {