Removed list of modeless windows (apparently no longer needed).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2004-10-24 13:46:06 +00:00
parent fc58c6be4e
commit a66dece0c5
3 changed files with 0 additions and 13 deletions

View 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_

View 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

View 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