0027067: Avoid use of virtual methods for implementation of destructors in legacy...
[occt.git] / src / WNT / WNT_Window.cxx
index 7f8b076..b8d586f 100644 (file)
@@ -123,10 +123,10 @@ WNT_Window::WNT_Window (const Aspect_Handle        theHandle,
 }
 
 // =======================================================================
-// function : Destroy
+// function : ~WNT_Window
 // purpose  :
 // =======================================================================
-void WNT_Window::Destroy()
+WNT_Window::~WNT_Window()
 {
   if (myHWindow == NULL
    || myIsForeign)