From 42a57453674d66b71d826f59eb12cca3083cb94c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 29 Jun 2020 12:00:28 -0700 Subject: [PATCH] InheritAttributes is public in the base class, make it so here too. --- include/wx/msw/nonownedwnd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/nonownedwnd.h b/include/wx/msw/nonownedwnd.h index a3f8aa4274..f19e5d1259 100644 --- a/include/wx/msw/nonownedwnd.h +++ b/include/wx/msw/nonownedwnd.h @@ -22,6 +22,8 @@ public: wxNonOwnedWindow(); virtual ~wxNonOwnedWindow(); + virtual void InheritAttributes() wxOVERRIDE; + protected: virtual bool DoClearShape() wxOVERRIDE; virtual bool DoSetRegionShape(const wxRegion& region) wxOVERRIDE; @@ -30,7 +32,6 @@ protected: #endif // wxUSE_GRAPHICS_CONTEXT virtual WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE; - virtual void InheritAttributes() wxOVERRIDE; private: bool HandleDPIChange(const wxSize& newDPI, const wxRect& newRect);