Wx files working
This commit is contained in:
parent
c417beda6d
commit
30cb0f8f63
54 changed files with 3157 additions and 5197 deletions
|
|
@ -205,9 +205,18 @@ public:
|
|||
static void SetValue(const T& value,
|
||||
wxAnyValueBuffer& buf)
|
||||
{
|
||||
// Use placement new
|
||||
// Use placement new, taking care to avoid running into problems with
|
||||
// "new" redefinition in wx/msw/msvcrt.h.
|
||||
#ifdef WXDEBUG_NEW
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
void* const place = buf.m_buffer;
|
||||
::new(place) T(value);
|
||||
|
||||
#ifdef WXDEBUG_NEW
|
||||
#define new WXDEBUG_NEW
|
||||
#endif
|
||||
}
|
||||
|
||||
static const T& GetValue(const wxAnyValueBuffer& buf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue