From 46fe849db66cb18b75d9377ee4b8b9b522b122ae Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Nov 2017 21:21:55 +0100 Subject: [PATCH] Restore access to wxLogStderr::m_fp from derived classes This was allowed before, but m_fp became private after the refactoring of a7dddd9f3b506959667cfc818858d4179fb48bc4. Make it protected again now to avoid breaking existing code that accesses it. --- include/wx/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/log.h b/include/wx/log.h index fa2efb5ee0..d6945eb0d2 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -718,7 +718,7 @@ private: // log everything to a "FILE *", stderr by default class WXDLLIMPEXP_BASE wxLogStderr : public wxLog, - private wxMessageOutputStderr + protected wxMessageOutputStderr { public: // redirect log output to a FILE