- <!-- this needs to be reset to 0 on beginning of stable series and
- increment by one 1 every time binary incompatible change is made
- (i.e. preferably never) -->
- <set var="WX_BINARY_VERSION">0</set>
-
+ <!--
+ We use libtool CURRENT:REVISION:AGE versioning scheme. Here are the
+ rules for updating the values below, this should be done whenever wx
+ version (wx/version.h) changes (we abbreviate WX_CURRENT:REVISION:AGE
+ as C:R:A respectively):
+
+ 0. Set C:R:A = 0:0:0 if major or minor version has changed.
+
+ 1. If any API has been removed or otherwise changed in backwards
+ incompatible way, then change C:R:A to C+1:0:0
+
+ 2. Else, if any API has been added, change C:R:A to C+1:0:A+1
+
+ 3. Else, i.e. if there were no changes at all to API but only internal
+ changes, change C:R:A to C:R+1:A
+ -->
+ <set var="WX_CURRENT">5</set>
+ <set var="WX_REVISION">0</set>
+ <set var="WX_AGE">0</set>