X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/072ce4576835bc9199a0628c8300023374354f95..d3e0ffbcd01cd6172234f9dc14f870ed6e1125cd:/src/os2/frame.cpp diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index d455626ed8..8a8545f7c8 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -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 @@ -173,7 +171,7 @@ void wxFrame::DoGetClientSize( // // Set the client size (i.e. leave the calculation of borders etc. -// to wxWindows) +// to wxWidgets) // void wxFrame::DoSetClientSize( int nWidth @@ -369,7 +367,7 @@ void wxFrame::SetMenuBar( // // Can set a menubar several times. // TODO: how to prevent a memory leak if you have a currently-unattached - // menubar? wxWindows assumes that the frame will delete the menu (otherwise + // menubar? wxWidgets assumes that the frame will delete the menu (otherwise // there are problems for MDI). // if (pMenuBar->GetHMenu())