]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/popupwin.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / mgl / popupwin.h
index fd56a9b5cb336f121df88f2faf4b1737a67a6f2a..3985aa998b3881c9c95ca520db2698aae215069a 100644 (file)
@@ -4,8 +4,8 @@
 // Author:      Vadim Zeitlin
 // Created:     06.01.01
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence:     wxWindows licence
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
+// Licence:     wxWidgets licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_POPUPWIN_H_
@@ -30,6 +30,9 @@ public:
                                 wxDefaultPosition, wxDefaultSize,
                                 (flags & wxBORDER_MASK) | wxPOPUP_WINDOW);
     }
+
+protected:    
+    DECLARE_DYNAMIC_CLASS(wxPopupWindow)
 };
 
 #endif // _WX_POPUPWIN_H_