]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed list of modeless windows (apparently no longer needed).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 24 Oct 2004 13:46:06 +0000 (13:46 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 24 Oct 2004 13:46:06 +0000 (13:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/toplevel.h
src/os2/frame.cpp
src/os2/toplevel.cpp

index 45573e37e117f42ee07ef57b975463e87559455e..4e056f9da413744df2fdc6585e9a55ee70df256b 100644 (file)
@@ -173,10 +173,5 @@ protected:
     DECLARE_EVENT_TABLE()
 }; // end of CLASS wxTopLevelWindowOS2
 
-//
-// List of all frames and modeless dialogs
-//
-extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
-
 #endif // _WX_MSW_TOPLEVEL_H_
 
index c0d17e3403f62ecbf5e423ef6ac54120a1af1360..8a8545f7c8e50b186748da3c3c83a2cc2d28bc8b 100644 (file)
@@ -51,7 +51,6 @@
 // globals
 // ----------------------------------------------------------------------------
 
-extern wxWindowList wxModelessWindows;
 extern wxList WXDLLEXPORT wxPendingDelete;
 
 #if wxUSE_MENUS_NATIVE
@@ -142,7 +141,6 @@ bool wxFrame::Create(
                                   ,rsName
                                  ))
         return FALSE;
-    wxModelessWindows.Append(this);
     return TRUE;
 } // end of wxFrame::Create
 
index d98d7992b44e7a8e41ae82514f3b54497ebd31d8..1687a5b7ab20d14b93ecd8880ae5b71b66019fd2 100644 (file)
@@ -52,9 +52,6 @@
 // globals
 // ----------------------------------------------------------------------------
 
-// list of all frames and modeless dialogs
-wxWindowList wxModelessWindows;
-
 // the name of the default wxWidgets class
 extern void          wxAssociateWinWithHandle( HWND         hWnd
                                               ,wxWindowOS2* pWin
@@ -643,9 +640,6 @@ bool wxTopLevelWindowOS2::Create(
 
 wxTopLevelWindowOS2::~wxTopLevelWindowOS2()
 {
-    if (wxModelessWindows.Find(this))
-        wxModelessWindows.DeleteObject(this);
-
     //
     // After destroying an owned window, Windows activates the next top level
     // window in Z order but it may be different from our owner (to reproduce