summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorChristian Widmer <shadow@umbrox.de>2015-12-12 23:09:19 +0100
committerChristian Widmer <shadow@umbrox.de>2015-12-12 23:28:34 +0100
commit33487ab5f20309e33b4734dbea9201b5b0d893a2 (patch)
treecb358139dd7b3b4232d879a2be0953a89775c909 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parentcc3dc05438b9324075c873cc42e72fd465b04990 (diff)
DolphinWX: Fix label change for the play/pause button
This fixes changing the play/pause button's label depending on the emulation state. Before, wxToolBarToolBase's SetLabel() function was used. This function, however, is not implemented in wxGTK which leads to the label not changing on linux when the button is clicked. Although the preferred method (according to the wxWidgets documentation) to change the properties of a tool is to use the toolbar's setters, there is no such setter for the label. Therefore, this implements a workaround where the button is deleted and readded afterwards with the updated properties. Thanks to linkmauve for noticing this!
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions