search for: cppapp

Displaying 1 result from an estimated 1 matches for "cppapp".

Did you mean: cppapi
2008 Jun 12
4
Background thread - entension code - switch contexts
...reter can not switch context when extension is running, so what should I do maybe use a thread at the side of extension (in c++ code) or maybe try to use the same mechanizm with timer as wxRuby does (but how to implement that). My code is simple: require ''wx'' require ''cppapp'' #myextension class MFrame < Wx::Frame STEPS = 100 def initialize super(nil,-1,"Title") set_client_size(Wx::Size.new(300,300)) panel = Wx::Panel.new(self) sizer = Wx::BoxSizer.new(Wx::VERTICAL) btn = Wx::Button.new(panel, -1, "Click me")...