Displaying 4 results from an estimated 4 matches for "wxclassinfo".
Did you mean:
classinfo
2007 Jun 28
0
[1097] trunk/wxruby2/swig/classes/ClassInfo.i: Remove wxClassInfo class because it doesn''t seem at all useful in Ruby
...#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1097] trunk/wxruby2/swig/classes/ClassInfo.i: Remove wxClassInfo class because it doesn''t seem at all useful in Ruby</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1097</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>200...
2004 Oct 19
1
Loading wxListCtrl subclass from XRC file
I''m trying to use the wxLC_VIRTUAL style of the wxListCtrl, which seems
to require that I subclass the control (as opposed to being able to
provide a data model a la Swing or Cocoa), and I''m running into trouble
when loading the control from an XRC file. Apparently I need to
specify the name of my subclass in the XRC as follows:
<object class="wxListCtrl"
2003 Oct 01
1
wxXRC library
...s knoweledge, they don''t exist in the cpp-to-ruby mapping table, and
so wxruby wraps them as wxWindows (the default return type).
My current solution to this problem has been to implement
dynamic_cast(reference, Class) which will convert a wxWindows'' type to
another one using the wxClassInfo. This works, and would be familiar to C++
and wxWindow''s programmers, but it strikes me as very un-ruby like. Also,
it seems like a very high line item on an FAQ. (Q: I''m using XRC and my
widgets all claim to be wxWindows! Whoever wrote wxXrcRuby sux0rs!)
My two other solutions I...
2004 Aug 08
7
wxruby-swig progress report
Hey everybody,
I''ve made some progress on wxruby-swig, and have some good news and some bad
news.
The good news is that the MSVC version finally can run all of the samples provided in
CVS. I''m using the same solve-by-ignore solution to the GC problem that wxruby uses,
so there is far less crashing goin'' on. Depending on the next few weeks, we might be
able to