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:
Václav Slavík 2008-01-29 14:09:56 +00:00
parent a38c9b4337
commit 4d2df97f6c
3 changed files with 17 additions and 13 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -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"