campo-sirio/libraries/wxPG/propgrid/patch_wx26/propgrid-patch-wxvariant-README.txt
mtollari 4db94043cb Patch level : 12.0 no-patch
Files correlati     : 
Commento            : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione

git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
2017-10-26 09:11:15 +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; }