Displaying 3 results from an estimated 3 matches for "id_close".
Did you mean:
fd_close
2008 May 11
2
instabilities in wxRuby 1.9.6
...a minute or so.
Is this a bug, or should I be doing something different to show/hide child
frames?
Thanks for any help with this.
Peter.
class ChildFrame < Wx::Frame
def initialize parent
super(parent, -1, "Child frame")
viewMenu = Wx::Menu.new
viewMenu.append(Wx::ID_CLOSE, "Close\tCtrl-W", "Close this window")
evt_menu(Wx::ID_CLOSE) { show false }
menuBar = Wx::MenuBar.new
menuBar.append(viewMenu, "&View")
set_menu_bar menuBar
end
end
class TestFrame < Wx::Frame
def initialize
super(nil, -1, "Test F...
2008 May 20
0
[ wxruby-Bugs-20255 ] Instabilities on Linux - 1.9.7
...d closing frames on GTK. See
http://rubyforge.org/pipermail/wxruby-users/2008-May/003916.html
==============
require ''wx''
class ChildFrame < Wx::Frame
def initialize parent
super(parent, -1, "Child frame")
viewMenu = Wx::Menu.new
viewMenu.append(Wx::ID_CLOSE, "Close\tCtrl-W", "Close this window")
evt_menu(Wx::ID_CLOSE) { show false }
menuBar = Wx::MenuBar.new
menuBar.append(viewMenu, "&View")
set_menu_bar menuBar
end
end
class TestFrame < Wx::Frame
def initialize
super(nil, -1, "Test F...
2004 May 22
4
couple of questions
Hi folks
A couple of questions:
1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox
and ListBox when the MDI child frame containing it is first painted (see
attached - it should be two-root treeview, unopened). I''m not sure if
it''s related to being in a MDI, but the controls sample looks OK. The
artifacts are cleared up when it''s repainted or