Use wx-prefixed macros throughout the repository.
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE occurrences to use the wx-prefixed version of the macros.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
// DrawingDocument implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(DrawingDocument, wxDocument)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(DrawingDocument, wxDocument);
|
||||
|
||||
DocumentOstream& DrawingDocument::SaveObject(DocumentOstream& ostream)
|
||||
{
|
||||
@@ -184,7 +184,7 @@ DocumentIstream& DoodleSegment::LoadObject(DocumentIstream& istream)
|
||||
// wxTextDocument: wxDocument and wxTextCtrl married
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxTextDocument, wxDocument)
|
||||
wxIMPLEMENT_CLASS(wxTextDocument, wxDocument);
|
||||
|
||||
bool wxTextDocument::OnCreate(const wxString& path, long flags)
|
||||
{
|
||||
@@ -250,7 +250,7 @@ void wxTextDocument::OnTextChange(wxCommandEvent& event)
|
||||
// TextEditDocument implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(TextEditDocument, wxDocument)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(TextEditDocument, wxDocument);
|
||||
|
||||
wxTextCtrl* TextEditDocument::GetTextCtrl() const
|
||||
{
|
||||
@@ -262,7 +262,7 @@ wxTextCtrl* TextEditDocument::GetTextCtrl() const
|
||||
// ImageDocument and ImageDetailsDocument implementation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(ImageDocument, wxDocument)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(ImageDocument, wxDocument);
|
||||
|
||||
bool ImageDocument::DoOpenDocument(const wxString& file)
|
||||
{
|
||||
|
Reference in New Issue
Block a user