I tried to add classes to DnD support, but I get compiling errors :( There are about virtual functions are abstract. I changed wxpp.rb to support size_t and other types needed, and modify extconf.rb to automatically clean all .h files, which have a similar .t file. I have problem with wxDataObject::Direction, I don''t know how the parser works, but virtual void GetAllFormats(wxDataFormat *formats, Direction dir = Get) const; shold be written as: virtual void GetAllFormats(wxDataFormat *formats, wxDataObject::Direction dir = wxDataObject::Get) const; but the parser doesn''t support it :( Can somebody fix it, and maybe anybody correct my try and explain? Thx in advance. Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
On 1113, KONTRA Gergely wrote: I''m online till 6''oclock, I can do some work in the weekend, if somebody helps me to figure out the problem with the abstract virtual methods, but if not, I cannot do much :( Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
KONTRA Gergely wrote:> I''m online till 6''oclock, I can do some work in the weekend, if somebody > helps me to figure out the problem with the abstract virtual methods, > but if not, I cannot do much :(Sorry I didn''t respond to that part sooner. Generally, you can just comment out abstract virtual methods in the .t file. They will be made available through subclasses, where they are not abstract. So they don''t have to be declared in the parent class. Kevin
KONTRA Gergely wrote:> I tried to add classes to DnD support, but I get compiling errors :( > > I have problem with wxDataObject::Direction, I don''t know how the parser > works, but > virtual void GetAllFormats(wxDataFormat *formats, Direction dir = Get) const; > shold be written as: > virtual void GetAllFormats(wxDataFormat *formats, wxDataObject::Direction dir = wxDataObject::Get) const; > > but the parser doesn''t support it :(Can you describe what happens when you try writing it the second way? Without looking too closely, it seems like it should work that way. I can''t look at it more until tomorrow. :-( Kevin