X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76d81b4d11617b806d6ab9bd60614c39999cdece..b14ba1f11722aeb4e4dcd52a686f5a50335776a1:/src/os2/toplevel.cpp diff --git a/src/os2/toplevel.cpp b/src/os2/toplevel.cpp index a038188dfb..1687a5b7ab 100644 --- a/src/os2/toplevel.cpp +++ b/src/os2/toplevel.cpp @@ -52,10 +52,7 @@ // globals // ---------------------------------------------------------------------------- -// list of all frames and modeless dialogs -wxWindowList wxModelessWindows; - -// the name of the default wxWindows class +// 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