]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/enhmeta.h
added wx/object.h include (bug 1398517)
[wxWidgets.git] / include / wx / msw / enhmeta.h
index 06b425a0c64726977ba054c41cd918bce0dc53d9..4fa8d1c8d0cac3dfde4c475f2cc2ee8e0bb0e80b 100644 (file)
 #ifndef _WX_MSW_ENHMETA_H_
 #define _WX_MSW_ENHMETA_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "enhmeta.h"
-#endif
-
 #include "wx/dc.h"
 
 #if wxUSE_DRAG_AND_DROP
@@ -91,6 +87,12 @@ public:
     wxEnhMetaFile *Close();
 
 private:
+    virtual void DoGetSize(int *width, int *height) const;
+
+    // size passed to ctor and returned by DoGetSize()
+    int m_width,
+        m_height;
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxEnhMetaFileDC)
 };