aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_perf_wx.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-05-02 14:56:42 +0200
committerDan Gudmundsson <[email protected]>2016-05-02 14:56:42 +0200
commitbe0b35ea2be58740efc4859181d4c01661d0c946 (patch)
treebf6d30fa4cfa68833fadfd991a0e41202bcfe0e1 /lib/observer/src/observer_perf_wx.erl
parentd60b45e5c96026598db9b922f65d3eac24938b3f (diff)
parent08ba76e919911ec5b90d0901b309f73feb7dfa44 (diff)
downloadotp-be0b35ea2be58740efc4859181d4c01661d0c946.tar.gz
otp-be0b35ea2be58740efc4859181d4c01661d0c946.tar.bz2
otp-be0b35ea2be58740efc4859181d4c01661d0c946.zip
Merge branch 'dgud/observer/fix-coloring/PR-994'
* dgud/observer/fix-coloring/PR-994: observer: Changed info text to be wxStaticText Changed setBackgroundColour to setBackgroundStyle
Diffstat (limited to 'lib/observer/src/observer_perf_wx.erl')
-rw-r--r--lib/observer/src/observer_perf_wx.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_perf_wx.erl b/lib/observer/src/observer_perf_wx.erl
index 017f07d2c4..45af08026a 100644
--- a/lib/observer/src/observer_perf_wx.erl
+++ b/lib/observer/src/observer_perf_wx.erl
@@ -100,7 +100,7 @@ setup_graph_drawing(Panels) ->
IsWindows = element(1, os:type()) =:= win32,
IgnoreCB = {callback, fun(_,_) -> ok end},
Do = fun(#win{panel=Panel}) ->
- wxWindow:setBackgroundColour(Panel, ?wxWHITE),
+ wxWindow:setBackgroundStyle(Panel, ?wxBG_STYLE_SYSTEM),
wxPanel:connect(Panel, paint, [callback]),
IsWindows andalso
wxPanel:connect(Panel, erase_background, [IgnoreCB])