]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarbase.h
Fixed context menu in wxRichTextCtrl
[wxWidgets.git] / include / wx / tbarbase.h
index 8c4b93543ba83ad26edfd2986254db6199ba9f6d..47ccd84a01c00e1a7bab91556bd5d3a4cdb2a2aa 100644 (file)
@@ -77,7 +77,7 @@ public:
         m_tbar = tbar;
         m_id = toolid;
         if (m_id == wxID_ANY)
-            m_id = wxNewId();
+            m_id = wxWindow::NewControlId();
         m_clientData = clientData;
 
         m_bmpNormal = bmpNormal;