From 62d7be206678146e889a76e30537c74c0e2c0ecc Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sun, 27 Sep 2009 15:28:06 +0000 Subject: [PATCH] Added function and member function pointers in wxAnyValueBuffer to make memory alignment problems even less likely. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/any.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/any.h b/include/wx/any.h index c021ce65c7..46d2ec61d9 100644 --- a/include/wx/any.h +++ b/include/wx/any.h @@ -34,6 +34,8 @@ union wxAnyValueBuffer wxInt64 m_int64; #endif double m_double; + void ( *m_funcPtr )(void); + void ( wxAnyValueBuffer::*m_mFuncPtr )(void); wxByte m_buffer[WX_ANY_VALUE_BUFFER_SIZE]; }; -- 2.50.0