X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dfbf520eb3f8ed03416c72222bb4ee74b8fcb0e..284b4c8866ab36694b6ec2a308690bba4db4fed2:/include/wx/generic/treectrl.h diff --git a/include/wx/generic/treectrl.h b/include/wx/generic/treectrl.h index 43718e0469..1a42b69ef2 100644 --- a/include/wx/generic/treectrl.h +++ b/include/wx/generic/treectrl.h @@ -179,10 +179,10 @@ class WXDLLEXPORT wxTreeTextCtrl: public wxTextCtrl wxTreeTextCtrl(void) {}; wxTreeTextCtrl( wxWindow *parent, const wxWindowID id, bool *accept, wxString *res, wxTreeCtrl *owner, - const wxString &value = "", + const wxString &value = wxEmptyString, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, int style = 0, const wxValidator& validator = wxDefaultValidator, - const wxString &name = "wxTreeTextCtrlText" ); + const wxString &name = wxTextCtrlNameStr ); void OnChar( wxKeyEvent &event ); void OnKillFocus( wxFocusEvent &event ); @@ -466,6 +466,7 @@ protected: wxImageList *m_imageListNormal, *m_imageListState; int m_dragCount; + wxPoint m_dragStart; wxTimer *m_renameTimer; bool m_renameAccept; wxString m_renameRes;