X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/024026be1dddaa0acf1360dc9a3847fd671de7a0..d294c9db889143938d8164df03fef56bdc1ab45e:/include/wx/msw/enhmeta.h

diff --git a/include/wx/msw/enhmeta.h b/include/wx/msw/enhmeta.h
index 4fa8d1c8d0..1bfe8985c6 100644
--- a/include/wx/msw/enhmeta.h
+++ b/include/wx/msw/enhmeta.h
@@ -86,9 +86,10 @@ public:
     // obtain a pointer to the new metafile (caller should delete it)
     wxEnhMetaFile *Close();
 
-private:
+protected:
     virtual void DoGetSize(int *width, int *height) const;
 
+private:
     // size passed to ctor and returned by DoGetSize()
     int m_width,
         m_height;