]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/enhmeta.h
enabling alpha on msw colour
[wxWidgets.git] / include / wx / msw / enhmeta.h
index 06b425a0c64726977ba054c41cd918bce0dc53d9..1bfe8985c6abe8495a56a3d312d65c5de4e2991d 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
@@ -90,7 +86,14 @@ public:
     // obtain a pointer to the new metafile (caller should delete it)
     wxEnhMetaFile *Close();
 
+protected:
+    virtual void DoGetSize(int *width, int *height) const;
+
 private:
+    // size passed to ctor and returned by DoGetSize()
+    int m_width,
+        m_height;
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxEnhMetaFileDC)
 };