Displaying 1 result from an estimated 1 matches for "wxrb_add_type_conv".
2004 Feb 24
1
Tweaks for 0.2
...f 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. I''m not sure if we want
to make it part of 0.2 or wait to 0.3. It''s pretty obvious that
validators ha...