]> git.saurik.com Git - wxWidgets.git/commitdiff
Added function and member function pointers in wxAnyValueBuffer to make memory alignm...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 27 Sep 2009 15:28:06 +0000 (15:28 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 27 Sep 2009 15:28:06 +0000 (15:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/any.h

index c021ce65c7fcc3688d7ecdfdf7c9377d4030fa96..46d2ec61d9ef2fd13a60146ba456a8ecec6819d2 100644 (file)
@@ -34,6 +34,8 @@ union wxAnyValueBuffer
     wxInt64 m_int64;
 #endif
     double  m_double;
     wxInt64 m_int64;
 #endif
     double  m_double;
+    void    ( *m_funcPtr )(void);
+    void    ( wxAnyValueBuffer::*m_mFuncPtr )(void);
     wxByte  m_buffer[WX_ANY_VALUE_BUFFER_SIZE];
 };
 
     wxByte  m_buffer[WX_ANY_VALUE_BUFFER_SIZE];
 };