DarkRadiant: master fcaa973c

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 09.11.2021 20:57 master 1506a2d2
Changeset Fix "linked scaling" button not changing bitmap on GTK

Once again wxGTK seems to be buggy: the "pressed" bitmap on a
wxBitmapToggleButton is only visible when you are actually HOLDING the mouse
button, not when the button is merely toggled. This is now worked around with a
wxutil helper class which explicitly changes the bitmap in response to button
state changes.
add - libs/wxutil/BitmapToggleButton.h Diff File
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp Diff File