Include wx/dcscreen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dcscreen.cpp
|
||||
// Name: src/os2/dcscreen.cpp
|
||||
// Purpose: wxScreenDC class
|
||||
// Author: David Webster
|
||||
// Modified by:
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -17,15 +17,15 @@
|
||||
#define INCL_PM
|
||||
#include<os2.h>
|
||||
|
||||
#include "wx/dcscreen.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/string.h"
|
||||
#include "wx/window.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/window.h"
|
||||
#endif
|
||||
|
||||
#include "wx/os2/private.h"
|
||||
|
||||
#include "wx/dcscreen.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxWindowDC)
|
||||
|
||||
// Create a DC representing the whole screen
|
||||
@@ -36,17 +36,13 @@ wxScreenDC::wxScreenDC()
|
||||
::GpiSetBackMix(m_hPS, BM_LEAVEALONE);
|
||||
} // end of wxScreenDC::wxScreenDC()
|
||||
|
||||
void wxScreenDC::DoGetSize(
|
||||
int* pnWidth
|
||||
, int* pnHeight
|
||||
) const
|
||||
void wxScreenDC::DoGetSize( int* pnWidth,
|
||||
int* pnHeight ) const
|
||||
{
|
||||
//
|
||||
// Skip wxWindowDC version because it doesn't work without a valid m_canvas
|
||||
// (which we don't have)
|
||||
//
|
||||
wxDC::DoGetSize( pnWidth
|
||||
,pnHeight
|
||||
);
|
||||
} // end of wxScreenDC::DoGetSize
|
||||
wxDC::DoGetSize( pnWidth, pnHeight );
|
||||
|
||||
} // end of wxScreenDC::DoGetSize
|
||||
|
Reference in New Issue
Block a user