]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/statbox.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / msw / statbox.h
index 56556a4c06a24d3f0d360480a77ccce66b127e60..f040fa6dcd27a96c3bef9d5703d40d1b1df029c9 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_STATBOX_H_
 #define _WX_STATBOX_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "statbox.h"
 #endif
 
@@ -42,7 +42,7 @@ public:
     // implementation from now on
     // --------------------------
 
-    virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+    virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
 
     // overriden base class virtuals
     virtual bool AcceptsFocus() const { return FALSE; }