]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcscreen.cpp
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / mac / carbon / dcscreen.cpp
index c47126248e7ab604fd8899f72bedb5a242004294..1b83a9348a20fc8191f079a6f540f02738af884d 100644 (file)
@@ -28,7 +28,6 @@ wxScreenDC::wxScreenDC()
 #else
        m_macPort = LMGetWMgrPort() ;
 #endif
-       MacSetupPort() ;
        m_ok = TRUE ;
        BitMap screenBits;
        GetQDGlobalsScreenBits( &screenBits );