Displaying 2 results from an estimated 2 matches for "swigdirector_wxwindow".
2006 Aug 15
0
Problem with directors and Ruby
...arguments, most of which are output only, except the last one, which is
input only. My target language is Ruby. When SWIG produces the wrapper
for this the input parameter''s name and type gets confused with the
second parameter''s type (relevant lines from sample.cpp):
void SwigDirector_wxWindow::GetTextExtent(wxString const &string, int
*x, int *y, int *descent, int *externalLeading, wxFont const *font) const {
VALUE obj0 = Qnil ;
VALUE obj1 = Qnil ;
VALUE result;
if (swig_get_up()) {
wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font);
return;
}
obj0 = SWIG...
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up