search for: wxstaticboxsizer

Displaying 9 results from an estimated 9 matches for "wxstaticboxsizer".

Did you mean: staticboxsizer
2007 Apr 07
0
[ wxruby-Bugs-9930 ] StaticBoxSizer causes segfault on exit
...ror: sizer = Wx::StaticBoxSizer.new( Wx::HORIZONTAL, self, ''foo'' ) On OS X 10.3, working on the wxw28 branch, the backtrace is: Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand. 0x00836264 in ?? () (gdb) whe #0 0x00836264 in ?? () #1 0x034a9850 in wxStaticBoxSizer::~wxStaticBoxSizer() () #2 0x0001d6f0 in rb_gc_call_finalizer_at_exit () at gc.c:1858 #3 0x000041d4 in ruby_finalize_1 () at eval.c:1418 #4 0x00004340 in ruby_cleanup (ex=0) at eval.c:1453 #5 0x000044b8 in ruby_stop (ex=5200144) at eval.c:1484 #6 0x00004544 in ruby_run () at eval.c:1505 #7 0x...
2006 Apr 23
5
Re: StaticBoxSizer bug?
...nel *panel = new wxPanel(this, wxID_ANY); > wxBoxSizer *boxSizer = new wxBoxSizer(wxHORIZONTAL); > wxStaticBox *box = new wxStaticBox(panel, wxID_ANY, wxT("BoxTitle")); > wxStaticText *text = new wxStaticText(panel, wxID_ANY, wxT("Some text!")); > wxStaticBoxSizer *staticBoxSizer = new wxStaticBoxSizer(box, wxVERTICAL); > > staticBoxSizer->Add(text, 1, wxEXPAND | wxALL, 16); > boxSizer->Add(staticBoxSizer, 1, wxEXPAND | wxALL, 16); > panel->SetSizerAndFit(boxSizer); > } > > ----------------------------------------------...
2007 Jun 26
0
[1077] trunk/wxruby2/swig/classes/StaticBoxSizer.i: Avoid crash-on-exit with StatBoxSizer by removing some unnec director methods
...quot;mark_wxSizer"; </del><ins>+%markfunc wxBoxSizer "mark_wxSBSizer"; </ins><span class="cx"> </span><ins>+// Must ensure that the C++ detach method is called, else the associated +// StaticBox will be double-freed +%feature(nodirector) wxStaticBoxSizer::Detach; +%feature(nodirector) wxStaticBoxSizer::Remove; +%feature(nodirector) wxStaticBoxSizer::Clear; + + </ins><span class="cx"> %import "include/wxObject.h" </span><span class="cx"> %import "include/wxSizer.h" </span><span...
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
...ually scroll. The problem I am trying to solve is to list a large number of key/value pairs. I looked to use PropertyGrid but did not find it in wxruby 2.0.1. I''m really stuck and would appreciate any help. Thanks, Dave Details: I am starting with an .xrc file containing: ... wxStaticBoxSizer (horizontal, stretch factor 1, expanded vertically) wxPanel (stretch factor 1, expanded vertically) ... In the ruby file invoking the interface I have: require ''wx'' require ''loadgui.rb'' # from xrcise class MyApp < MyGUI def on_init # Sizer...
2007 Jul 04
0
[1108] trunk/wxruby2/swig: Revised mem mgmt for Sizers to address more GC crashes in Sizers demo
...22:50:43 UTC (rev 1108) </span><span class="lines">@@ -4,11 +4,10 @@ </span><span class="cx"> %include "../common.i" </span><span class="cx"> </span><span class="cx"> %module(directors="1") wxStaticBoxSizer </span><del>-GC_MANAGE_AS_OBJECT(wxStaticBoxSizer); </del><ins>+GC_MANAGE_AS_SIZER(wxStaticBoxSizer); </ins><span class="cx"> </span><del>-// shared functions for GC marking </del><ins>+// shared functions </ins><span...
2004 Nov 13
2
wxRuby and XRC via wxGlade
...ct class="notebookpage"> <label>tab1</label> <object class="wxPanel" name="notebook_1_pane_1"> <style>wxTAB_TRAVERSAL</style> <object class="wxStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Foo</label> <object class="sizeritem"> <option>1</option>...
2007 May 28
0
[1033] trunk/wxruby2/swig: GC fixes for nested sizers; fix crashes in html.rb demo
...+++ trunk/wxruby2/swig/classes/StaticBoxSizer.i&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-05-28 19:17:14 UTC (rev 1033) </span><span class="lines">@@ -6,6 +6,10 @@ </span><span class="cx"> %module(directors="1") wxStaticBoxSizer </span><span class="cx"> GC_MANAGE_AS_OBJECT(wxStaticBoxSizer); </span><span class="cx"> </span><ins>+// shared functions for GC marking +%include "../shared/sizers.i" +%markfunc wxBoxSizer "mark_wxSizer"; + </ins>&...
2006 Apr 25
1
Re: -fvirtual and compactdefaultargs (was StaticBoxSizer bug?)
...but I really don''t recall now whether that''s up and running (anyone?). > How do people feel about adding -fvirtual to swig_options in > rake/rakewx.rb to eliminate redundant wrapper generation? I > raise this question because prior to declaring RecalcSize() in the > wxStaticBoxSizer.h, the wrapper generated for it in StaticBoxSizer.cpp > was a redundant version of what was generated for BoxSizer. Also, how > about using %feature("compactdefaultargs") across the board (putting it > in common.i) to reduce the library size? It shaved off 700KB > of object...
2007 Jun 26
0
[1087] trunk/wxruby2/swig/classes/StaticBoxSizer.i: Fix a dopey typo introduced recently
...ass="cx"> </span><span class="cx"> // shared functions for GC marking </span><span class="cx"> %include "../shared/sizers.i" </span><del>-%markfunc wxBoxSizer "mark_wxSizer"; </del><ins>+%markfunc wxStaticBoxSizer "mark_wxSizer"; </ins><span class="cx"> </span><span class="cx"> // Must ensure that the C++ detach method is called, else the associated </span><span class="cx"> // StaticBox will be double-freed </span></span&gt...