X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1484b5cc701329c54bbe70f2a155119fd86945c7..c932709d31bf359c994dc2050bec1b3b986bbd62:/contrib/samples/ogl/studio/shapes.h diff --git a/contrib/samples/ogl/studio/shapes.h b/contrib/samples/ogl/studio/shapes.h index 117721dfbe..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* diagramTo) { return TRUE; }; - virtual bool OnEndCopy(wxDiagram* 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 @@ -97,10 +97,10 @@ public: ~csDiagramClipboard() {} // Start/end copying - bool OnStartCopy(wxDiagram* diagramTo); - bool OnEndCopy(wxDiagram* diagramTo); + virtual bool OnStartCopy(wxDiagram* diagramTo); + virtual bool OnEndCopy(wxDiagram* diagramTo); - bool OnAddShape(wxDiagram* diagramTo, wxShape* newShape, wxDC* dc); + virtual bool OnAddShape(wxDiagram* diagramTo, wxShape* newShape, wxDC* dc); protected: csDiagramCommand* m_currentCmd;