Use wx-prefixed macros in documentation
This commit is contained in:
@@ -402,12 +402,12 @@ public:
|
||||
{
|
||||
Close();
|
||||
}
|
||||
DECLARE_EVENT_TABLE();
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
BEGIN_EVENT_TABLE(TestWnd,TestWnd_Base)
|
||||
wxBEGIN_EVENT_TABLE(TestWnd,TestWnd_Base)
|
||||
EVT_BUTTON(XRCID("B"), TestWnd::OnBPressed)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
@endcode
|
||||
|
||||
It is also possible to access the wxSizerItem of a sizer that is part of a
|
||||
@@ -452,7 +452,7 @@ public:
|
||||
virtual bool CanHandle(wxXmlNode *node);
|
||||
|
||||
// Register with wxWidgets' dynamic class subsystem.
|
||||
DECLARE_DYNAMIC_CLASS(MyControlXmlHandler)
|
||||
wxDECLARE_DYNAMIC_CLASS(MyControlXmlHandler);
|
||||
};
|
||||
@endcode
|
||||
|
||||
@@ -460,7 +460,7 @@ The implementation of your custom XML handler will typically look as:
|
||||
|
||||
@code
|
||||
// Register with wxWidgets' dynamic class subsystem.
|
||||
IMPLEMENT_DYNAMIC_CLASS(MyControlXmlHandler, wxXmlResourceHandler)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(MyControlXmlHandler, wxXmlResourceHandler);
|
||||
|
||||
MyControlXmlHandler::MyControlXmlHandler()
|
||||
{
|
||||
|
Reference in New Issue
Block a user