Use long double instead of double in wxAnyValueBuffer, moved alignment-specific values into sub-union

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-09-27 16:30:26 +00:00
parent 62d7be2066
commit ca5a36146e

View File

@@ -29,13 +29,17 @@ enum
union wxAnyValueBuffer
{
union Alignment
{
#if wxHAS_INT64
wxInt64 m_int64;
#endif
long double m_longDouble;
void ( *m_funcPtr )(void);
void ( wxAnyValueBuffer::*m_mFuncPtr )(void);
} m_alignment;
void* m_ptr;
#if wxHAS_INT64
wxInt64 m_int64;
#endif
double m_double;
void ( *m_funcPtr )(void);
void ( wxAnyValueBuffer::*m_mFuncPtr )(void);
wxByte m_buffer[WX_ANY_VALUE_BUFFER_SIZE];
};