diff --git a/include/wx/log.h b/include/wx/log.h index c45f66ddec..34168befc1 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -452,8 +452,10 @@ public: #if WXWIN_COMPATIBILITY_2_8 wxDEPRECATED_INLINE( static void SetTraceMask(wxTraceMask ulMask), ms_ulTraceMask = ulMask; ) - wxDEPRECATED_BUT_USED_INTERNALLY_INLINE( static wxTraceMask GetTraceMask(), - return ms_ulTraceMask; ) + + // this one can't be marked deprecated as it's used in our own wxLogger + // below but it still is deprecated and shouldn't be used + static wxTraceMask GetTraceMask() { return ms_ulTraceMask; } #endif // WXWIN_COMPATIBILITY_2_8 protected: