anchor.diff:  -include_lib("wx/include/wx.hrl").
   -include("gen.hrl").
   -include("gui.hrl").
  +
  +%% Log event handler internal state.
  +-type state() :: [].
   
   %%%----------------------------------------------------------------------
   %%% UI functions
  
positive.code: %%% Log event handler callback functions
  %%%----------------------------------------------------------------------
  
  -spec init(term()) -> {'ok', log:state()}.
  
  %% @doc: Initialize the event handler.
  %% Note: The wx environment is set once in this function and is subsequently
  
negative.code:     wx:set_env(Env),
      {ok, []}.
  
  -spec terminate(term(), state()) -> 'ok'.
  
  terminate(_Reason, _State) ->
      ok.
  
  -spec handle_event(log:event(), state()) -> {'ok', state()}.
  
  handle_event({msg, String}, State) ->
      LogText = ref_lookup(?LOG_TEXT),
  