Correction for the #define wxUSE_DRAG_AND_DROP 0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
02800dde9e
commit
9fa7b43626
@ -232,7 +232,9 @@ wxRichTextCtrl::wxRichTextCtrl(wxWindow* parent,
|
||||
Init();
|
||||
Create(parent, id, value, pos, size, style, validator, name);
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
SetDropTarget(new wxRichTextDropTarget(this));
|
||||
#endif
|
||||
}
|
||||
|
||||
/// Creation
|
||||
@ -355,7 +357,9 @@ void wxRichTextCtrl::Init()
|
||||
m_editable = true;
|
||||
m_caretAtLineStart = false;
|
||||
m_dragging = false;
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
m_preDrag = false;
|
||||
#endif
|
||||
m_fullLayoutRequired = false;
|
||||
m_fullLayoutTime = 0;
|
||||
m_fullLayoutSavedPosition = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user