diff options
author | Byaruhanga Franklin <[email protected]> | 2016-03-23 06:09:43 +0300 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-05-02 14:54:49 +0200 |
commit | 7281f6b5877e12ebfdafa35b42989f5da2b7e807 (patch) | |
tree | 15e6c990107f0e8632599637a2078bc645d4f045 /lib/observer/src/observer_perf_wx.erl | |
parent | b9e3e212009162d8223436032282efbc5c826cc7 (diff) | |
download | otp-7281f6b5877e12ebfdafa35b42989f5da2b7e807.tar.gz otp-7281f6b5877e12ebfdafa35b42989f5da2b7e807.tar.bz2 otp-7281f6b5877e12ebfdafa35b42989f5da2b7e807.zip |
Changed setBackgroundColour to setBackgroundStyle
Diffstat (limited to 'lib/observer/src/observer_perf_wx.erl')
-rw-r--r-- | lib/observer/src/observer_perf_wx.erl | 2 |
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]) |