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:
Julian Smart 2010-10-04 08:10:27 +00:00
parent 97e07b1cd9
commit 1d12c6e2be

View File

@ -300,7 +300,7 @@ bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& va
m_contextMenu->AppendSeparator();
m_contextMenu->Append(wxID_SELECTALL, _("Select &All"));
long ids = wxNewId();
long ids = wxWindow::NewControlId();
m_contextMenu->AppendSeparator();
m_contextMenu->Append(ids, _("&Properties"));