From c631741b391c2355269946550cfa3088826a37ae Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 24 Sep 2009 06:48:27 +0000 Subject: [PATCH] Fixed compile problem git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index c311083d64..dc240371cb 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -169,9 +169,11 @@ public: const wxPoint& GetDragStart() const { return m_dragStart; } void SetDragStart(const wxPoint& pt) { m_dragStart = pt; } +#if wxRICHTEXT_BUFFERED_PAINTING /// Get the buffer bitmap const wxBitmap& GetBufferBitmap() const { return m_bufferBitmap; } wxBitmap& GetBufferBitmap() { return m_bufferBitmap; } +#endif /// Get/set context menu wxMenu* GetContextMenu() const { return m_contextMenu; }