diff options
author | Dan Gudmundsson <[email protected]> | 2010-01-20 10:26:41 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-01-20 10:26:41 +0000 |
commit | ec976a83f338e5407111af965c05eb5d714cc864 (patch) | |
tree | 9a7e2820f04a69c3cfc3b04cb3e6b0964c4c27b3 /lib/wx/test/wx_xtra_SUITE.erl | |
parent | 8be611d3a3ab298eb59127cf58390099261c8260 (diff) | |
download | otp-ec976a83f338e5407111af965c05eb5d714cc864.tar.gz otp-ec976a83f338e5407111af965c05eb5d714cc864.tar.bz2 otp-ec976a83f338e5407111af965c05eb5d714cc864.zip |
Test case fixes
Diffstat (limited to 'lib/wx/test/wx_xtra_SUITE.erl')
-rw-r--r-- | lib/wx/test/wx_xtra_SUITE.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/wx/test/wx_xtra_SUITE.erl b/lib/wx/test/wx_xtra_SUITE.erl index 6f21c60d14..d5888bbf94 100644 --- a/lib/wx/test/wx_xtra_SUITE.erl +++ b/lib/wx/test/wx_xtra_SUITE.erl @@ -69,10 +69,11 @@ destroy_app_test(N) when N > 0 -> Wx = ?mr(wx_ref, wx:new()), Frame = wxFrame:new(Wx, 1, "Destroy"), ?m(ok, wxFrame:destroy(Frame)), - wx:destroy(), receive Msg -> Msg - after 150 -> destroy_app_test(N-1) + after 150 -> + wx:destroy(), + destroy_app_test(N-1) end; destroy_app_test(_) -> receive @@ -184,7 +185,7 @@ menu_item_debug(Config) -> Frame = wxFrame:new(Wx, -1, "Button Fix"), wxFrame:connect(Frame, close_window), - FramePanel = wxPanel:new(Frame), + wxPanel:new(Frame), create_menus(Frame), wxWindow:show(Frame), wx_test_lib:wx_destroy(Frame,Config). |