Displaying 1 result from an estimated 1 matches for "convertcppobject".
2004 Feb 24
1
Tweaks for 0.2
...oper ''wxruby'' things ("validate" instead of "Validate").
2) The GetWindow method of WxValidator needs to be changed to:
VALUE
WxValidator::GetWindow(VALUE self)
{
wxRbValidator *ptr;
Data_Get_Struct(self, wxRbValidator, ptr);
return WxRbTypeTable::ConvertCppObject(ptr->GetWindow());
}
3) The following line needs to be added into dynamiccast.cpp Init method:
WXRB_ADD_TYPE_CONV(WxStaticText,"wxStaticText");
also, the line
#include "statictext.h"
needs to be added to the top.
Like I said, I can make a diff of these tonight...