]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcscreen.cpp
default button on older systems was not shown with OK, but empty, resulting in wxID_C...
[wxWidgets.git] / src / mac / carbon / dcscreen.cpp
index f5012952b9ff5049d449e203faa0d98d9589f788..85f092c8f0c485686b87d5635544b21a75ae6381 100644 (file)
@@ -9,18 +9,12 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "dcscreen.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #include "wx/dcscreen.h"
 #include "wx/mac/uma.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
-#endif
 
 // Create a DC representing the whole screen
 wxScreenDC::wxScreenDC()
@@ -37,7 +31,6 @@ wxScreenDC::wxScreenDC()
 #if wxMAC_USE_CORE_GRAPHICS
     m_macLocalOriginInPort = m_macLocalOrigin ;
 #endif
-    
     BitMap screenBits;
     GetQDGlobalsScreenBits( &screenBits );
     m_minX = screenBits.bounds.left ;