]> git.saurik.com Git - wxWidgets.git/commit
Fix harmless MSVC warning about converting pointer to bool.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Jun 2012 23:23:14 +0000 (23:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Jun 2012 23:23:14 +0000 (23:23 +0000)
commit568fb7e9f636a85356e379fa543a7d233634b370
treea4f3f3dc9433584e8a83080c52b4d487b164ddf1
parent6114fa035095cbc714bed6c8bfee5bb97599d071
Fix harmless MSVC warning about converting pointer to bool.

Compare the pointer with NULL explicitly to avoid "forcing value to bool"
warning C4800 from MSVC in richtext code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/richtext/richtextstylepage.cpp