wxWidgets/include
Vadim Zeitlin 3351404c2c Don't use wxOVERRIDE in wxDECLARE_EVENT_TABLE to avoid clang warnings
If a class not using "override" for its other, not wx-related, virtual methods
included wxDECLARE_EVENT_TABLE() with wxOVERRIDE inside it, it resulted in a
clang -Winconsistent-missing-override warning per each virtual method without
it which was very annoying.

Avoid it by not using wxOVERRIDE in this macro and explicitly disabling the
-Winconsistent-missing-override for the methods inside it in case the rest of
the class does use "override".

Notice that this also required rearranging the order of the declarations in
this macro to ensure that a semicolon is still required after it.

Closes https://github.com/wxWidgets/wxWidgets/pull/217
2016-02-18 22:56:11 +01:00
..
msvc/wx Recognize MSVC 14 a.k.a. Visual Studio 2015 compiler. 2015-05-08 02:24:10 +02:00
wx Don't use wxOVERRIDE in wxDECLARE_EVENT_TABLE to avoid clang warnings 2016-02-18 22:56:11 +01:00