]> git.saurik.com Git - wxWidgets.git/commit
Refactor and clean up slider labels drawing code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Aug 2009 00:44:42 +0000 (00:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Aug 2009 00:44:42 +0000 (00:44 +0000)
commit4462f911b111ad2462a3e4600892438d42a57c4c
tree133027a505d55e000d37cb076e62df22bc983b8b
parentffbd0d14a65e9380350f2d70a76e592c740a4efe
Refactor and clean up slider labels drawing code.

This change fixes multiple g++ 4 warnings about unsafe expressions with
bit-wise operators (completely justified, for once, as the expressions were
absolutely incomprehensible and almost certainly incorrect too) and refactors
the determination of where to draw the slider labels in a single function
instead of triplicating it.

Also reformat to follow wxWidgets conventions and use more clear variable
names.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/univ/themes/win32.cpp