X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55c91e8a3faff8a1f4e758bbb64c28d1743c66c8..e9247fdad93984e7fe5b12dea148f143d608e2f1:/contrib/samples/ogl/ogledit/doc.cpp diff --git a/contrib/samples/ogl/ogledit/doc.cpp b/contrib/samples/ogl/ogledit/doc.cpp index 97fb2b5a9f..833ab5c12a 100644 --- a/contrib/samples/ogl/ogledit/doc.cpp +++ b/contrib/samples/ogl/ogledit/doc.cpp @@ -194,7 +194,7 @@ bool DiagramCommand::Do(void) { switch (cmd) { - case OGLEDIT_CUT: + case wxID_CUT: { if (shape) { @@ -340,7 +340,7 @@ bool DiagramCommand::Undo(void) { switch (cmd) { - case OGLEDIT_CUT: + case wxID_CUT: { if (shape) { @@ -428,7 +428,7 @@ void DiagramCommand::RemoveLines(wxShape *shape) while (node) { wxLineShape *line = (wxLineShape *)node->GetData(); - doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Cut"), OGLEDIT_CUT, doc, NULL, 0.0, 0.0, line->Selected(), line)); + doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Cut"), wxID_CUT, doc, NULL, 0.0, 0.0, line->Selected(), line)); node = shape->GetLines().GetFirst(); }