~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/debugger/src/dbg_wx_filedialog_win.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%%
4
 
%% Copyright Ericsson AB 2009-2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2009-2011. All Rights Reserved.
5
5
%%
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
24
24
-export([new/3, getFilename/1, getFilenames/1, getDirectory/1, destroy/1]).
25
25
 
26
26
%% Internal 
27
 
-export([init/1, handle_call/3, handle_event/2, 
 
27
-export([init/1, handle_call/3, handle_event/2, handle_cast/2,
28
28
         handle_info/2, code_change/3, terminate/2]).
29
29
 
30
30
-include_lib("wx/include/wx.hrl").
151
151
    Bott = wxDialog:createButtonSizer(Dlg, ?wxCANCEL bor ?wxOK),
152
152
    wxDialog:connect(Dlg, command_button_clicked), 
153
153
    
154
 
    %% Ok done 
 
154
    %% OK done
155
155
    Box  = wxBoxSizer:new(?wxVERTICAL),
156
156
    wxSizer:add(Box, Top,  [{border, 2}, {flag,?wxALL bor ?wxEXPAND}]),
157
157
    wxSizer:add(Box, Dir,  [{border, 2}, {flag,?wxALL bor ?wxEXPAND}]),
193
193
handle_call(destroy, _From, State) ->
194
194
    {stop, normal, ok, State}.
195
195
 
 
196
handle_cast(_, State) ->
 
197
    {noreply, State}.
 
198
 
196
199
%%  events
197
200
handle_event(#wx{id=?wxID_UP}, State0) ->
198
201
    State = update_window(change_dir(0, State0)),