use "new" wx-prefixed macros in samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -99,7 +99,7 @@ private:
|
||||
|
||||
DoodleSegments m_doodleSegments;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(DrawingDocument)
|
||||
wxDECLARE_DYNAMIC_CLASS(DrawingDocument);
|
||||
};
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ protected:
|
||||
void OnTextChange(wxCommandEvent& event);
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxTextDocument);
|
||||
DECLARE_CLASS(wxTextDocument)
|
||||
wxDECLARE_ABSTRACT_CLASS(wxTextDocument);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -193,7 +193,7 @@ public:
|
||||
virtual wxTextCtrl* GetTextCtrl() const;
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(TextEditDocument);
|
||||
DECLARE_DYNAMIC_CLASS(TextEditDocument)
|
||||
wxDECLARE_DYNAMIC_CLASS(TextEditDocument);
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -219,7 +219,7 @@ private:
|
||||
wxImage m_image;
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(ImageDocument);
|
||||
DECLARE_DYNAMIC_CLASS(ImageDocument)
|
||||
wxDECLARE_DYNAMIC_CLASS(ImageDocument);
|
||||
};
|
||||
|
||||
// This is a child document of ImageDocument: this document doesn't
|
||||
|
Reference in New Issue
Block a user