]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statbr95.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / msw / statbr95.h
index f6f56cfe1d065beaed50ff9d0b40a41bf665df45..b41f51da05ba39cea61078882ee5ddf5bcf85ca1 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     04.04.98
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef   _STATBR95_H
 #define   _STATBR95_H
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "statbr95.h"
 #endif
 
@@ -66,7 +66,7 @@ protected:
     void DoMoveWindow(int x, int y, int width, int height);
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxStatusBar95);
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95)
 };
 
 #endif  // wxUSE_NATIVE_STATUSBAR