Add missing wxABI_VERSION checks and version script entries.

Newly overridden virtual methods must be taken in wxABI_VERSION checks as
otherwise any program using the class deriving from the one containing this
method would reference the method in the vtbl of that class and so become
ABI-incompatible with the earlier shared library versions.

Also add wxABI_VERSION guard around the entire wxSimplebookXmlHandler class
added in 3.0.2.
This commit is contained in:
Vadim Zeitlin
2015-05-27 15:07:05 +02:00
parent 877b972d8f
commit 7b25b65a2f
4 changed files with 18 additions and 0 deletions

View File

@@ -34,7 +34,9 @@ public:
virtual void EnableEllipsize(wxEllipsizeMode mode = wxELLIPSIZE_MIDDLE);
virtual wxEllipsizeMode GetEllipsizeMode() const;
#if wxABI_VERSION >= 30003
virtual bool FinishEditing();
#endif
// GTK-specific implementation
// ---------------------------