Skip to content

Commit

Permalink
Fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ijm7 committed Jan 3, 2018
1 parent f2ffe52 commit 2b104c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/smoltext.erl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ makeMenuBar() ->
File = wxMenu:new(),
wxMenu:append(File, 1, "New"),
wxMenu:append(File, 2, "Open"),
wxMenu:append(File, 3, "Save"),
wxMenu:append(File, 4, "Save As"),
wxMenu:append(File, ?wxID_EXIT, "Quit"),
%Edit = wxMenu:new(),
Help = wxMenu:new(),
Expand All @@ -44,7 +46,7 @@ makeMenuBar() ->
Menu.

loop(State) ->
{Frame, _, _, _, Pid} = State,
{Frame, _, TextBox, Files, Pid} = State,
receive
#wx{event=#wxClose{}} ->
closeWindow(Frame, Pid);
Expand Down

0 comments on commit 2b104c8

Please sign in to comment.