From 1d12c6e2be99ae9e7d9a75ba2540ebec7449c92e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 4 Oct 2010 08:10:27 +0000 Subject: [PATCH] Avoid id clashes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index a4141381f0..6d834135d1 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -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")); -- 2.50.0