X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1f4723592a86208a941bd486a9c1f18f43b5f51..694f70fa9c0cc8889c208020bf75b2e3861f6818:/contrib/samples/ogl/studio/shapes.h diff --git a/contrib/samples/ogl/studio/shapes.h b/contrib/samples/ogl/studio/shapes.h index 26ca01fbe7..2e959dff4d 100644 --- a/contrib/samples/ogl/studio/shapes.h +++ b/contrib/samples/ogl/studio/shapes.h @@ -73,8 +73,8 @@ public: // Overridables // Start/end copying - virtual bool OnStartCopy(wxDiagram* WXUNUSED(diagramTo)) { return TRUE; }; - virtual bool OnEndCopy(wxDiagram* WXUNUSED(diagramTo)) { return TRUE; }; + virtual bool OnStartCopy(wxDiagram* WXUNUSED(diagramTo)) { return true; }; + virtual bool OnEndCopy(wxDiagram* WXUNUSED(diagramTo)) { return true; }; // Override this to e.g. have the shape added through a Do/Undo command system. // By default, we'll just add it directly to the destination diagram, and