Обсуждение: SVN Commit by andreas: r4243 - branches/REL-1_2_0_PATCHES/pgadmin3/src/include

Поиск
Список
Период
Сортировка

SVN Commit by andreas: r4243 - branches/REL-1_2_0_PATCHES/pgadmin3/src/include

От
svn@pgadmin.org
Дата:
Author: andreas
Date: 2005-05-24 13:49:33 +0100 (Tue, 24 May 2005)
New Revision: 4243

Modified:
   branches/REL-1_2_0_PATCHES/pgadmin3/src/include/misc.h
Log:
workaround for wxStaticCast

Modified: branches/REL-1_2_0_PATCHES/pgadmin3/src/include/misc.h
===================================================================
--- branches/REL-1_2_0_PATCHES/pgadmin3/src/include/misc.h    2005-05-24 12:36:16 UTC (rev 4242)
+++ branches/REL-1_2_0_PATCHES/pgadmin3/src/include/misc.h    2005-05-24 12:49:33 UTC (rev 4243)
@@ -19,6 +19,9 @@

 typedef unsigned long OID;

+#undef wxStaticCast
+#define wxStaticCast(obj, className) ((className *)(obj))
+
 // we dont have an appropriate wxLongLong method
 #ifdef __WIN32__
 #define atolonglong _atoi64