Patch #1767 2006-12-27 21:14
stahta01
Old wxSmith patch for wxWidgets 2.8- Download
- 1767-Old_wxSmith_pa.patch (577 bytes)
Index: src/plugins/contrib/wxSmith/properties/wxsstringlistcheckproperty.h
===================================================================
--- src/plugins/contrib/wxSmith/properties/wxsstringlistcheckproperty.h (revision 3435)
+++ src/plugins/contrib/wxSmith/properties/wxsstringlistcheckproperty.h (working copy)
@@ -10,7 +10,11 @@
#include "../wxsproperties.h"
#include "../widget.h"
+#if wxCHECK_VERSION(2, 8, 0)
+WX_DEFINE_ARRAY_INT(bool,wxsArrayBool);
+#else
WX_DEFINE_ARRAY(bool,wxsArrayBool);
+#endif
class wxsStringListCheckProperty : public wxsProperty
{
History
stahta01 2006-12-27 21:17
Problem: wxWidgets 2.8 does NOT like WX_DEFINE_ARRAY(bool,wxsArrayBool)
Solution: Replaced it with WX_DEFINE_ARRAY_INT(bool,wxsArrayBool)
Sorry, it took so long I just realized that byo renamed wxsArrayBool to wxArrayBool, and that why my New wxSmith patch code did NOT work with OLD wxSmith. Tim S
killerbot 2006-12-27 21:58
applied rev 3437