]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/dcscreen.cpp
don't use MSW-only DEFAULT_ITEM_WIDTH but the width returned by the best class GetBes...
[wxWidgets.git] / src / mgl / dcscreen.cpp
index 148ca94a299a56fe47aded45b56a72ce8a9f8e78..4edb3f61c7d1e0c356973e1c61574beb94c6963e 100644 (file)
@@ -1,15 +1,11 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcscreen.cpp
+// Name:        src/mgl/dcscreen.cpp
 // Author:      Vaclav Slavik
 // Id:          $Id$
 // Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "dcscreen.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #endif
 
 #include "wx/dcscreen.h"
+
 #include "wx/mgl/private.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
 
-wxScreenDC::wxScreenDC() : wxDC()
+wxScreenDC::wxScreenDC()
+           :wxDC()
 {
     SetMGLDC(g_displayDC, FALSE /* no ownership */);
-    
+
     // VS: we have to hide the mouse, otherwise rendering artifacts may occur
     MS_obscure();
 }