]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/dcscreen.cpp
Don't use m_popupInterface pointer if it is still NULL
[wxWidgets.git] / src / palmos / dcscreen.cpp
index c6051d18a5007933d8a195aa375bdb48f4aeea85..f89af8a49ab8afe977291a0b171c0f2b221e6722 100644 (file)
@@ -1,32 +1,28 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        src/palmos/dcscreen.cpp
 // Purpose:     wxScreenDC class
 /////////////////////////////////////////////////////////////////////////////
 // Name:        src/palmos/dcscreen.cpp
 // Purpose:     wxScreenDC class
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Copyright:   (c) William Osborne
 // 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"
 
 #ifdef __BORLANDC__
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #endif
 
+#include "wx/dcscreen.h"
+
 #ifndef WX_PRECOMP
    #include "wx/string.h"
    #include "wx/window.h"
 #endif
 
 #ifndef WX_PRECOMP
    #include "wx/string.h"
    #include "wx/window.h"
 #endif
 
-#include "wx/dcscreen.h"
-
 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
 
 // Create a DC representing the whole screen
 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
 
 // Create a DC representing the whole screen
@@ -37,4 +33,3 @@ wxScreenDC::wxScreenDC()
 void wxScreenDC::DoGetSize(int *width, int *height) const
 {
 }
 void wxScreenDC::DoGetSize(int *width, int *height) const
 {
 }
-