]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/metafile.cpp
partially fix bug [ wxwindows-Bugs-1145813 ] Centre() Doesn't Work With Dual Monitors...
[wxWidgets.git] / src / palmos / metafile.cpp
index 475c50d7ad6046106cf26087bdde4f1899dff36d..e2c4230e276c150a0e926d81bbbccc5a8850340a 100644 (file)
@@ -1,10 +1,10 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        palmos/metafile.cpp
+// Name:        src/palmos/metafile.cpp
 // Purpose:     wxMetafileDC etc.
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -143,24 +143,6 @@ void wxMetafileDC::SetMapMode(int mode)
 // ----------------------------------------------------------------------------
 // wxMakeMetafilePlaceable
 // ----------------------------------------------------------------------------
-#ifdef __WIN32__
-struct RECT32
-{
-  short left;
-  short top;
-  short right;
-  short bottom;
-};
-
-struct mfPLACEABLEHEADER {
-    DWORD    key;
-    short    hmf;
-    RECT32    bbox;
-    WORD    inch;
-    DWORD    reserved;
-    WORD    checksum;
-};
-#else
 struct mfPLACEABLEHEADER {
     DWORD    key;
     HANDLE    hmf;
@@ -169,7 +151,6 @@ struct mfPLACEABLEHEADER {
     DWORD    reserved;
     WORD    checksum;
 };
-#endif
 
 /*
  * Pass filename of existing non-placeable metafile, and bounding box.