Avoid id clashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -300,7 +300,7 @@ bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& va
|
|||||||
m_contextMenu->AppendSeparator();
|
m_contextMenu->AppendSeparator();
|
||||||
m_contextMenu->Append(wxID_SELECTALL, _("Select &All"));
|
m_contextMenu->Append(wxID_SELECTALL, _("Select &All"));
|
||||||
|
|
||||||
long ids = wxNewId();
|
long ids = wxWindow::NewControlId();
|
||||||
m_contextMenu->AppendSeparator();
|
m_contextMenu->AppendSeparator();
|
||||||
m_contextMenu->Append(ids, _("&Properties"));
|
m_contextMenu->Append(ids, _("&Properties"));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user