]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcscreen.cpp
OGL: misc.cpp clashes with misc.c frim iODBC, therefore
[wxWidgets.git] / src / mac / carbon / dcscreen.cpp
index e03bbac0c80d8fbfbb86a792919de9e65948729c..1d802afba448d938bd239e659616e413a051eba8 100644 (file)
 
 #include "wx/dcscreen.h"
 
 
 #include "wx/dcscreen.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
-#endif
 
 // Create a DC representing the whole screen
 wxScreenDC::wxScreenDC()
 {
 
 // Create a DC representing the whole screen
 wxScreenDC::wxScreenDC()
 {
-    // TODO
+       m_macPort = LMGetWMgrPort() ;
+       MacSetupPort() ;
+       m_ok = TRUE ;
 }
 
 wxScreenDC::~wxScreenDC()
 }
 
 wxScreenDC::~wxScreenDC()