diff options
author | Dan Gudmundsson <[email protected]> | 2011-11-18 11:06:52 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2011-11-18 12:08:01 +0100 |
commit | 45fb452f5f067c5658a3dfe16495032728bf8a9d (patch) | |
tree | 3408559be957903a6254c59663535f0f0f044c4a /lib/observer/src/observer_wx.erl | |
parent | b65b0c4bf4896021cbd327a4bc1acd426645a5f3 (diff) | |
download | otp-45fb452f5f067c5658a3dfe16495032728bf8a9d.tar.gz otp-45fb452f5f067c5658a3dfe16495032728bf8a9d.tar.bz2 otp-45fb452f5f067c5658a3dfe16495032728bf8a9d.zip |
[observer] Work around wxWidgets windows bug
wxCheckListBox:setClientData crashes on windows
Diffstat (limited to 'lib/observer/src/observer_wx.erl')
-rw-r--r-- | lib/observer/src/observer_wx.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/observer/src/observer_wx.erl b/lib/observer/src/observer_wx.erl index d737faed32..f9dec1ab1b 100644 --- a/lib/observer/src/observer_wx.erl +++ b/lib/observer/src/observer_wx.erl @@ -137,6 +137,9 @@ setup(#state{frame = Frame} = State) -> TracePanel = observer_trace_wx:start_link(Notebook, self()), wxNotebook:addPage(Notebook, TracePanel, ?TRACE_STR, []), + %% Force redraw (window needs it) + wxWindow:refresh(Panel), + SysPid = wx_object:get_pid(SysPanel), SysPid ! {active, node()}, UpdState = State#state{main_panel = Panel, |