From: John L. <jla...@gm...> - 2006-01-10 04:55:43
|
On 1/4/06, klaas.holwerda <kho...@xs...> wrote: > Hi John, > > You did not react on this one, maybe you missed it amougst all the > questions, > or you simply did not have time yet. Sorry, I forgot. I have changed it to use a wxModule now. Regenerate all the bindings and let me know if it works for you. Regards, John Labenski > http://sourceforge.net/mailarchive/message.php?msg_id=3D14327913 > > But currently i have to remove the static initialization from the > bindings the next parts: > > class teto_BindingInit > { > public: > teto_BindingInit() > { > m_binding.GetBindingList()->Append(&m_binding); > } > teto_Binding m_binding; > }; > > teto_BindingInit s_teto_BindingInit; > > since else there is a problem in order of initialization. > And next initialize in the wxAppOnInit. > > bool MyApp::OnInit(void) > { > wxart2d_Binding binding1; > binding1.GetBindingList()->Append(&binding1); > teto_Binding binding; > binding.GetBindingList()->Append(&binding); > > I don't mind about initializing them myself, but removing is not a soluti= on. > So or we must make this XXX_BindingInit optional, or we must go for the > wxModule solutions. > > What do you think, > > Klaas > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Wxlua-users mailing list > Wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |