Some edits to OGL; tweaks to wxClipboard docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-01-06 15:09:35 +00:00
parent ccebc98a67
commit 4021952304
8 changed files with 50 additions and 13 deletions

View File

@@ -884,7 +884,7 @@ void wxShape::FindRegionNames(wxStringList& list)
void wxShape::AssignNewIds()
{
// if (m_id == 0)
m_id = NewId();
m_id = wxNewId();
wxNode *node = m_children.First();
while (node)
{
@@ -1878,7 +1878,7 @@ void wxShape::WriteRegions(wxExpr *clause)
void wxShape::ReadAttributes(wxExpr *clause)
{
clause->GetAttributeValue("id", m_id);
RegisterId(m_id);
wxRegisterId(m_id);
clause->GetAttributeValue("x", m_xpos);
clause->GetAttributeValue("y", m_ypos);