campo-sirio/wxPG/propgrid/patch_wx26/propgrid-patch-wxvariant-README.txt
mtollari a3ed46f2c3 Spostamento cartelle da extlib
git-svn-id: svn://10.65.10.50/branches/R_10_00@23289 c028cbd2-c16b-5b4b-a496-9718f37d4682
2016-09-14 21:14:51 +00:00

27 lines
724 B
Plaintext

Inorder to properly use wxPropertyGrid with wxWidgets 2.6.x, you
need to patch your library with reference-counted wxVariant. This
can be done easiest by copying variant.h and variant.cpp supplied
here (adapted from wxWidgets 2.8.3) to appropriate directories in
your wxWidgets 2.6.x source directory.
If you wish, you can adapt ref-counted wxVariant from another
version of wxWidgets. Doing following changes will probably
be enough:
* variant.h
- Add #define wxUSE_VARIANT 1 to the top of the file.
- Add #define wxVARIANT_REFCOUNT 1 to the top of the file.
* variant.cpp
- Add following at the top of the code:
inline bool wxIsSameDouble(double x, double y) { return x == y; }