wx*DCImpl PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a38c9b4337
commit
4d2df97f6c
@ -17,19 +17,8 @@
|
|||||||
class WXDLLIMPEXP_CORE wxMemoryDCImpl : public wxDFBDCImpl
|
class WXDLLIMPEXP_CORE wxMemoryDCImpl : public wxDFBDCImpl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxMemoryDCImpl(wxMemoryDC *owner)
|
wxMemoryDCImpl(wxMemoryDC *owner);
|
||||||
: wxDFBDCImpl(owner)
|
wxMemoryDCImpl(wxMemoryDC *owner, wxBitmap& bitmap);
|
||||||
{
|
|
||||||
Init();
|
|
||||||
}
|
|
||||||
|
|
||||||
wxMemoryDCImpl(wxMemoryDC *owner, wxBitmap& bitmap)
|
|
||||||
: wxDFBDCImpl(owner)
|
|
||||||
{
|
|
||||||
Init();
|
|
||||||
DoSelect(bitmap);
|
|
||||||
}
|
|
||||||
|
|
||||||
wxMemoryDCImpl(wxMemoryDC *owner, wxDC *dc); // create compatible DC
|
wxMemoryDCImpl(wxMemoryDC *owner, wxDC *dc); // create compatible DC
|
||||||
|
|
||||||
// override wxMemoryDC-specific base class virtual methods
|
// override wxMemoryDC-specific base class virtual methods
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "wx/bitmap.h"
|
#include "wx/bitmap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/dcmemory.h"
|
||||||
#include "wx/dfb/dcmemory.h"
|
#include "wx/dfb/dcmemory.h"
|
||||||
#include "wx/dfb/private.h"
|
#include "wx/dfb/private.h"
|
||||||
|
|
||||||
@ -42,6 +43,19 @@ void wxMemoryDCImpl::Init()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner)
|
||||||
|
: wxDFBDCImpl(owner)
|
||||||
|
{
|
||||||
|
Init();
|
||||||
|
}
|
||||||
|
|
||||||
|
wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner, wxBitmap& bitmap)
|
||||||
|
: wxDFBDCImpl(owner)
|
||||||
|
{
|
||||||
|
Init();
|
||||||
|
DoSelect(bitmap);
|
||||||
|
}
|
||||||
|
|
||||||
wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner, wxDC *WXUNUSED(dc))
|
wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC *owner, wxDC *WXUNUSED(dc))
|
||||||
: wxDFBDCImpl(owner)
|
: wxDFBDCImpl(owner)
|
||||||
{
|
{
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#include "wx/dcscreen.h"
|
||||||
#include "wx/dfb/dcscreen.h"
|
#include "wx/dfb/dcscreen.h"
|
||||||
#include "wx/dfb/private.h"
|
#include "wx/dfb/private.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user