Use semicolon after wxIMPLEMENT_*_CLASS* in wx's own implementations
wxIMPLEMENT_DYNAMIC/ABSTRACT_CLASS* is documented to be used with a semicolon, though it is not mandatory. Not touching headers yet, to avoid -pedantic warnings in user code. See https://github.com/wxWidgets/wxWidgets/pull/2584
This commit is contained in:
committed by
Vadim Zeitlin
parent
5cea9f4649
commit
ed92c86785
@@ -100,7 +100,7 @@ bool wxMenuBarStreamingCallback( const wxObject *WXUNUSED(object), wxObjectWrite
|
||||
|
||||
#if wxUSE_MENUBAR
|
||||
wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxMenuBar, wxWindow, "wx/menu.h", \
|
||||
wxMenuBarStreamingCallback)
|
||||
wxMenuBarStreamingCallback);
|
||||
#endif
|
||||
|
||||
#if wxUSE_EXTENDED_RTTI
|
||||
@@ -187,7 +187,7 @@ wxENUM_MEMBER( wxITEM_RADIO )
|
||||
wxEND_ENUM( wxItemKind )
|
||||
|
||||
wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxMenuItem, wxObject, "wx/menuitem.h", \
|
||||
wxMenuItemStreamingCallback)
|
||||
wxMenuItemStreamingCallback);
|
||||
|
||||
wxBEGIN_PROPERTIES_TABLE(wxMenuItem)
|
||||
wxPROPERTY( Parent, wxMenu*, SetMenu, GetMenu, wxEMPTY_PARAMETER_VALUE, \
|
||||
|
||||
Reference in New Issue
Block a user