aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_proc_wx.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/observer/src/cdv_proc_wx.erl')
-rw-r--r--lib/observer/src/cdv_proc_wx.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/observer/src/cdv_proc_wx.erl b/lib/observer/src/cdv_proc_wx.erl
index a0f42b5e6b..1320afce28 100644
--- a/lib/observer/src/cdv_proc_wx.erl
+++ b/lib/observer/src/cdv_proc_wx.erl
@@ -99,6 +99,7 @@ init_stack_page(Parent, Pid, _Info) ->
init_memory_page(Parent, Pid, "StackDump").
init_memory_page(Parent, Pid, What) ->
+ Win = observer_lib:html_window(Parent),
Html =
case crashdump_viewer:expand_memory(Pid,What) of
{ok,Memory} ->
@@ -106,7 +107,8 @@ init_memory_page(Parent, Pid, What) ->
{error,Reason} ->
crashdump_viewer_html:warning(Reason)
end,
- observer_lib:html_window(Parent,Html).
+ wxHtmlWindow:setPage(Win,Html),
+ Win.
init_ets_page(Parent, Pid, _Info) ->
cdv_virtual_list:start_link(Parent, cdv_ets_wx, Pid).