diff options
Diffstat (limited to 'core/fxge/cfx_renderdevice.h')
-rw-r--r-- | core/fxge/cfx_renderdevice.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h index 0f1cf9b6ca..5b18b2293a 100644 --- a/core/fxge/cfx_renderdevice.h +++ b/core/fxge/cfx_renderdevice.h @@ -113,10 +113,8 @@ class CFX_RenderDevice { int GetRenderCaps() const { return m_RenderCaps; } int GetDeviceCaps(int id) const; CFX_Matrix GetCTM() const; - RetainPtr<CFX_DIBitmap> GetBitmap() const { return m_pBitmap; } - void SetBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap) { - m_pBitmap = pBitmap; - } + RetainPtr<CFX_DIBitmap> GetBitmap() const; + void SetBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap); bool CreateCompatibleBitmap(const RetainPtr<CFX_DIBitmap>& pDIB, int width, int height) const; |