// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "dcclient.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#pragma hdrstop
#endif
-#include "wx/string.h"
-#include "wx/log.h"
-#include "wx/window.h"
-
#include "wx/dcclient.h"
+#ifndef WX_PRECOMP
+ #include "wx/string.h"
+ #include "wx/log.h"
+ #include "wx/window.h"
+#endif
+
// ----------------------------------------------------------------------------
// array/list types
// ----------------------------------------------------------------------------
{
wxPaintDCInfo(wxWindow *win, wxDC *dc)
{
- hwnd = win->GetHWND();
- hdc = dc->GetHDC();
- count = 1;
+ handle = win->GetWinHandle();
+ hdc = dc->GetHDC();
+ count = 1;
}
- WXHWND hwnd; // window for this DC
- WXHDC hdc; // the DC handle
- size_t count; // usage count
+ WXWINHANDLE handle; // window for this DC
+ WXHDC hdc; // the DC handle
+ size_t count; // usage count
};
#include "wx/arrimpl.cpp"
wxPaintDCEx::~wxPaintDCEx()
{
}
-