-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from mcorino/fix-162
Fix #162
- Loading branch information
Showing
6 changed files
with
106 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
### | ||
# wxRuby3 wxWidgets interface director | ||
# Copyright (c) M.J.N. Corino, The Netherlands | ||
### | ||
|
||
require_relative './ctrl_with_items' | ||
|
||
module WXRuby3 | ||
|
||
class Director | ||
|
||
class RearrangeList < ControlWithItems | ||
|
||
include Typemap::ArrayIntSelections | ||
|
||
def setup | ||
super | ||
setup_ctrl_with_items('wxRearrangeList') | ||
spec.override_inheritance_chain('wxRearrangeList', | ||
%w[wxCheckListBox | ||
wxListBox | ||
wxControlWithItems | ||
wxControl | ||
wxWindow | ||
wxEvtHandler | ||
wxObject]) | ||
end | ||
|
||
end # class RearrangeList | ||
|
||
end # class Director | ||
|
||
end # module WXRuby3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,7 @@ def base_setup | |
cleanup | ||
def base_cleanup | ||
10.times { Wx.get_app.yield } | ||
GC.start | ||
end | ||
|
||
def frame_win | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters