- protected:
- DoodleSegment *segment;
- DrawingDocument *doc;
- int cmd;
- public:
- DrawingCommand(const wxString& name, int cmd, DrawingDocument *ddoc, DoodleSegment *seg);
- ~DrawingCommand(void);
-
- bool Do(void);
- bool Undo(void);
+protected:
+ DoodleSegment* m_segment;
+ DrawingDocument* m_doc;
+ int m_cmd;
+public:
+ DrawingCommand(const wxString& name, int cmd, DrawingDocument*, DoodleSegment*);
+ virtual ~DrawingCommand();
+
+ bool Do();
+ bool Undo();