Changed wxCanvas constants from XXX to wxXXX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-01-25 18:25:21 +00:00
parent 2201e9b300
commit b578915045
4 changed files with 28 additions and 21 deletions

View File

@@ -34,7 +34,12 @@ class wxCanvasAdmin;
//----------------------------------------------------------------------------
// wxCanvasObject
//----------------------------------------------------------------------------
enum DRAGMODE {DRAG_RECTANGLE,DRAG_ONTOP,DRAG_REDRAW};
enum wxDRAG_MODE
{
wxDRAG_RECTANGLE,
wxDRAG_ONTOP,
wxDRAG_REDRAW
};
//:defenition
// wxCanvasObject is the base class for Canvas Objects.
@@ -88,10 +93,10 @@ public:
//DRAG_RECTANGLE = as a rectangle when drag is in progress |
//DRAG_ONTOP = only redraw the object when dragging |
//DRAG_REDRAW = redraw the damaged areas when dragging
void SetDragMode(DRAGMODE mode) { m_dragmode=mode; };
void SetDragMode(wxDRAG_MODE mode) { m_dragmode=mode; };
//return the dragmode
DRAGMODE GetDragMode() { return m_dragmode; };
wxDRAG_MODE GetDragMode() { return m_dragmode; };
//called when starting a drag
virtual void DragStart();
@@ -193,7 +198,7 @@ protected:
bool m_isImage:1;
bool m_visible:1;
bool m_dragable:1;
DRAGMODE m_dragmode:2;
wxDRAG_MODE m_dragmode:3;
//boundingbox in world coordinates
wxBoundingBox m_bbox;