[MSPAINT_NEW]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 1 Aug 2015 17:30:17 +0000 (17:30 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 1 Aug 2015 17:30:17 +0000 (17:30 +0000)
commit5c15cde76e19f7eca7f80474effd8028f99a85ac
tree03697e077cef7ff9bd9af2f4aaa438fb16e943d5
parent2d44138c210f76c195f87de66963ed52aeb1a539
[MSPAINT_NEW]
Fix build on MSVC by rewriting the code in *STANDARD* C++ !! (and not into some strange idiom called "GCC-C++"). I suggest also to write a proper class for dynamically-allocated (resource) strings instead of either having the static arrays of hardcoded sizes, or being tempted to use non-standard constructs as the one I just saw.
(and btw, instead of defining a new "SIZEOF()" macro, there is one which already exists in the PSDK called "ARRAYSIZE()" which just does the correct job).

svn path=/trunk/; revision=68587
reactos/base/applications/mspaint_new/winproc.cpp