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:
@@ -223,7 +223,7 @@ public:
|
||||
wxMediaCtrl::CreateControl which does the actual creation of the control,
|
||||
in cases where a custom control is not needed you may simply call wxControl::Create().
|
||||
|
||||
You need to make sure to use the @c DECLARE_CLASS and @c IMPLEMENT_CLASS macros.
|
||||
You need to make sure to use the @c wxDECLARE_CLASS and @c wxIMPLEMENT_CLASS macros.
|
||||
|
||||
The only real tricky part is that you need to make sure the file in compiled in,
|
||||
which if there are just backends in there will not happen and you may need to
|
||||
|
@@ -65,10 +65,10 @@
|
||||
virtual void OnExit() { ... }
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(MyModule2)
|
||||
wxDECLARE_DYNAMIC_CLASS(MyModule2);
|
||||
};
|
||||
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(MyModule2, wxModule)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(MyModule2, wxModule);
|
||||
@endcode
|
||||
|
||||
@library{wxbase}
|
||||
|
@@ -262,7 +262,7 @@ public:
|
||||
wxActiveXContainer* m_pAX;
|
||||
wxAutomationObject m_PDF;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPDFMediaBackend)
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPDFMediaBackend);
|
||||
};
|
||||
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(wxPDFMediaBackend, wxMediaBackend);
|
||||
|
@@ -41,7 +41,7 @@
|
||||
virtual wxObjectRefData *CreateRefData() const;
|
||||
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(MyCar)
|
||||
wxDECLARE_DYNAMIC_CLASS(MyCar);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user