From aaa50a21486173a654d0b3945d3694d20e0d6b90 Mon Sep 17 00:00:00 2001 From: AcyForsythe Date: Sat, 23 Sep 2006 19:41:38 +0000 Subject: [PATCH] Adding VC6 compatibility git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@550 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Standard Gaming Platform/Button System.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Standard Gaming Platform/Button System.cpp b/Standard Gaming Platform/Button System.cpp index 30d6cb75..3ab40518 100644 --- a/Standard Gaming Platform/Button System.cpp +++ b/Standard Gaming Platform/Button System.cpp @@ -4092,7 +4092,14 @@ void DrawDialogBox( INT32 iDlgBox ) //------------------------------------------------------------------------------------------------------ -// template INT32 CreateCheckBoxButton(INT16, INT16, char *, INT16, GUI_CALLBACK); + + +// Kaiden: Added for VC6 compatibility + +#if _MSC_VER <= 1200 + template INT32 CreateCheckBoxButton(INT16, INT16, char *, INT16, GUI_CALLBACK); +#endif + template INT32 CreateCheckBoxButton(INT16, INT16, char const *, INT16, GUI_CALLBACK); template INT32 CreateCheckBoxButton( INT16 x, INT16 y, string3 filename, INT16 Priority, GUI_CALLBACK ClickCallback )