(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:
@@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user