]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wince/tbarwce.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / msw / wince / tbarwce.h
index e1a73462947ca64c698eac4203d63df1e4d6d5ae..631f81b0e60eab2e485285107bfb74156e7cbc55 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003-07-12
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BARWCE_H_
@@ -112,7 +112,7 @@ protected:
     virtual wxToolBarToolBase *CreateTool(wxControl *control);
 
     // override WndProc mainly to process WM_SIZE
-    virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+    virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
 
     // return the appropriate size and flags for the toolbar control
     virtual wxSize DoGetBestSize() const;