Displaying 1 result from an estimated 1 matches for "mainnb".
Did you mean:
main_b
2008 Jan 16
2
Question about WxNotebook, threads, and GUI refreshing
...ated. So the problem (I assume) is that I''m not
setting up the thread switching properly for use with a Wx::Notebook.
Here is the main app code:
--- MultiTool.rb ---
require ''wx''
require ''wx_sugar/all''
require ''panels/all.rb''
class MainNB < Wx::Notebook
def initialize(parent, id)
super(parent, id, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE,
Wx::NB_TOP)
fpar_page = add_page(FPARPanel.new(self), "Acct. Report", true, 0)
gsbis_page = add_page(GSBISPanel.new(self), "Inv. Scan", true, 0)...