use "new" wx-prefixed macros in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
// the last mouse press position
|
||||
wxPoint m_lastMousePos;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
// The view using MyCanvas to show its contents
|
||||
@@ -80,8 +80,8 @@ private:
|
||||
|
||||
MyCanvas *m_canvas;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(DrawingView)
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
wxDECLARE_DYNAMIC_CLASS(DrawingView);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -107,8 +107,8 @@ private:
|
||||
|
||||
wxTextCtrl *m_text;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(TextEditView)
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
wxDECLARE_DYNAMIC_CLASS(TextEditView);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
private:
|
||||
ImageCanvas* m_canvas;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(ImageView)
|
||||
wxDECLARE_DYNAMIC_CLASS(ImageView);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user