X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..062dfc9a96dc9e796c53544f41ff92dc47f26e82:/src/palmos/dcscreen.cpp diff --git a/src/palmos/dcscreen.cpp b/src/palmos/dcscreen.cpp index c6051d18a5..b223aaa5e3 100644 --- a/src/palmos/dcscreen.cpp +++ b/src/palmos/dcscreen.cpp @@ -1,40 +1,36 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/palmos/dcscreen.cpp // Purpose: wxScreenDC class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // 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__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/palmos/dcscreen.h" + #ifndef WX_PRECOMP #include "wx/string.h" #include "wx/window.h" #endif -#include "wx/dcscreen.h" - -IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC) +IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxPalmDCImpl) // Create a DC representing the whole screen -wxScreenDC::wxScreenDC() +wxScreenDCImpl::wxScreenDCImpl( wxScreenDC *owner ) : + wxPalmDCImpl( owner ) { } -void wxScreenDC::DoGetSize(int *width, int *height) const +void wxScreenDCImpl::DoGetSize (int *w, int *h) const { } -