(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.

This commit is contained in:
rubidium
2008-05-04 09:39:16 +00:00
parent a26b25aecc
commit 8ca1035316
5 changed files with 17 additions and 16 deletions

View File

@@ -56,9 +56,10 @@ enum TransportType {
* the values for road and rail.
*/
TRANSPORT_BEGIN = 0,
TRANSPORT_RAIL = 0,
TRANSPORT_ROAD = 1,
TRANSPORT_WATER, // = 2
TRANSPORT_RAIL = TRANSPORT_BEGIN,
TRANSPORT_ROAD,
TRANSPORT_WATER,
TRANSPORT_AIR,
TRANSPORT_END,
INVALID_TRANSPORT = 0xff,
};