]> git.saurik.com Git - wxWidgets.git/commit
Fixed drawing a check box in the undetermined state for non-themed MSW apps.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 29 Aug 2011 16:06:32 +0000 (16:06 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Mon, 29 Aug 2011 16:06:32 +0000 (16:06 +0000)
commit07968bbdc58ba58e18fd672ce9c89fde760f0312
treef03bf805b29a2e4b97c7949025c63ef84218bbaa
parent513d05952ad99319275962db6bcb8df6fc0b4b27
Fixed drawing a check box in the undetermined state for non-themed MSW apps.

wxRendererMSW::DoDrawFrameControl (used for systems prior to XP or when theming is disabled) didn't check for the wxCONTROL_UNDETERMINED flag yet. Set the appropriate styles when the flag is used to fix drawing check boxes in their third state (as used in for example the treelist sample).

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