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:
@@ -690,6 +690,8 @@ private:
|
|||||||
#if WXWIN_COMPATIBILITY_2_8
|
#if WXWIN_COMPATIBILITY_2_8
|
||||||
static wxTraceMask ms_ulTraceMask; // controls wxLogTrace behaviour
|
static wxTraceMask ms_ulTraceMask; // controls wxLogTrace behaviour
|
||||||
#endif // WXWIN_COMPATIBILITY_2_8
|
#endif // WXWIN_COMPATIBILITY_2_8
|
||||||
|
|
||||||
|
wxDECLARE_NO_COPY_CLASS(wxLog);
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user