Make wxLog non-copyable

It doesn't make sense to copy objects of this class and this wouldn't
work correctly due to the presence of m_formatter field.

See https://github.com/wxWidgets/wxWidgets/pull/1389
This commit is contained in:
Vadim Zeitlin 2019-07-07 02:53:09 +02:00
parent c5f6836d6f
commit a1bd57d1d8

View File

@ -690,6 +690,8 @@ private:
#if WXWIN_COMPATIBILITY_2_8
static wxTraceMask ms_ulTraceMask; // controls wxLogTrace behaviour
#endif // WXWIN_COMPATIBILITY_2_8
wxDECLARE_NO_COPY_CLASS(wxLog);
};
// ----------------------------------------------------------------------------