projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Source cleaning: tabs, whitespaces, -1/wxID_ANY, TRUE/true, FALSE/false.
[wxWidgets.git]
/
include
/
wx
/
dcbuffer.h
diff --git
a/include/wx/dcbuffer.h
b/include/wx/dcbuffer.h
index 0de48cdc109566149d6aa3a663100027db8ef679..b186d30e1586a840b34ec359d69862be11f6312b 100644
(file)
--- a/
include/wx/dcbuffer.h
+++ b/
include/wx/dcbuffer.h
@@
-81,9
+81,9
@@
public:
wxASSERT_MSG( m_dc != 0,
_T("No underlying DC associated with wxBufferedDC (anymore)") );
wxASSERT_MSG( m_dc != 0,
_T("No underlying DC associated with wxBufferedDC (anymore)") );
- m_dc->Blit(
m_dc->DeviceToLogicalX(0), m_dc->DeviceToLogicalY(0)
,
+ m_dc->Blit(
0, 0
,
m_buffer.GetWidth(), m_buffer.GetHeight(), this,
m_buffer.GetWidth(), m_buffer.GetHeight(), this,
-
DeviceToLogicalX(0), DeviceToLogicalY(0)
);
+
0, 0
);
m_dc = NULL;
}
m_dc = NULL;
}
@@
-123,6
+123,8
@@
public:
wxBufferedPaintDC(wxWindow *window, const wxBitmap& buffer = wxNullBitmap)
: m_paintdc(window)
{
wxBufferedPaintDC(wxWindow *window, const wxBitmap& buffer = wxNullBitmap)
: m_paintdc(window)
{
+ window->PrepareDC( m_paintdc );
+
if( buffer != wxNullBitmap )
Init(&m_paintdc, buffer);
else
if( buffer != wxNullBitmap )
Init(&m_paintdc, buffer);
else