]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unnecessary cast, that type should match
authorPaul Cornett <paulcor@bullseye.com>
Thu, 19 Feb 2009 17:44:49 +0000 (17:44 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 19 Feb 2009 17:44:49 +0000 (17:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/object.h

index b5f34262d63739fc241dd31fb733da926f880de0..26c3c0271cf518922fc18a832bf0635fc0fd6295 100644 (file)
@@ -190,7 +190,7 @@ WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxString& name);
             &basename::ms_classInfo,                                          \
             baseclsinfo2,                                                     \
             (int) sizeof(name),                                               \
-            (wxObjectConstructorFn) func);                                    \
+            func);                                                            \
                                                                               \
     wxClassInfo *name::GetClassInfo() const                                   \
         { return &name::ms_classInfo; }