connect two wxRichTextBuffers
Karol Bielecki
aafe at tagmet.com.pl
Wed May 21 15:30:18 PDT 2008
Julian Smart pisze:
> aafe at tagmet.com.pl wrote:
>> I try to connect two wxRichTextBuffers in one.
>> What I have to do?
>>
> I'm not sure what you mean by "connect" exactly...
I tray connect two files in one file
Is This way correct?
wxRichTextBuffer *bufor_1,*bufor_2;
...
bufor_1->LoadFile(stream1,wxRICHTEXT_TYPE_XML);
bufor_2->LoadFile(stream2,wxRICHTEXT_TYPE_XML);
for (i=0;i<bufor_2->GetChildCount();i++)
{
bufor_1->AppendChild(bufor_pom->GetChild(i)->Clone());
}
More information about the wx-users
mailing list