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
|
||||
{
|
||||
public:
|
||||
wxMemoryDCImpl(wxMemoryDC *owner)
|
||||
: wxDFBDCImpl(owner)
|
||||
{
|
||||
Init();
|
||||
}
|
||||
|
||||
wxMemoryDCImpl(wxMemoryDC *owner, wxBitmap& bitmap)
|
||||
: wxDFBDCImpl(owner)
|
||||
{
|
||||
Init();
|
||||
DoSelect(bitmap);
|
||||
}
|
||||
|
||||
wxMemoryDCImpl(wxMemoryDC *owner);
|
||||
wxMemoryDCImpl(wxMemoryDC *owner, wxBitmap& bitmap);
|
||||
wxMemoryDCImpl(wxMemoryDC *owner, wxDC *dc); // create compatible DC
|
||||
|
||||
// override wxMemoryDC-specific base class virtual methods
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "wx/bitmap.h"
|
||||
#endif
|
||||
|
||||
#include "wx/dcmemory.h"
|
||||
#include "wx/dfb/dcmemory.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))
|
||||
: wxDFBDCImpl(owner)
|
||||
{
|
||||
|
@ -19,6 +19,7 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#include "wx/dcscreen.h"
|
||||
#include "wx/dfb/dcscreen.h"
|
||||
#include "wx/dfb/private.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user