- m_minX = 10000;
- m_minY = 10000;
- m_maxX = -10000;
- m_maxY = -10000;
-
- wxASSERT_MSG( file.IsEmpty() , "no file based metafile support yet") ;
-
- m_metaFile = new wxMetaFile("") ;
- Rect r={yorg,xorg,yorg+yext,xorg+xext} ;
-
- m_metaFile->SetHMETAFILE( OpenPicture( &r ) ) ;
- ::GetPort( (GrafPtr*) &m_macPort ) ;
- m_ok = TRUE ;
-
- SetMapMode(wxMM_TEXT);
+ m_minX = 10000;
+ m_minY = 10000;
+ m_maxX = -10000;
+ m_maxY = -10000;
+
+ wxASSERT_MSG( file.IsEmpty() , wxT("no file based metafile support yet")) ;
+
+ m_metaFile = new wxMetaFile(wxEmptyString) ;
+ Rect r={yorg,xorg,yorg+yext,xorg+xext} ;
+
+ m_metaFile->SetHMETAFILE( OpenPicture( &r ) ) ;
+ ::GetPort( (GrafPtr*) &m_macPort ) ;
+ m_ok = TRUE ;
+
+ SetMapMode(wxMM_TEXT);