From: klaas.holwerda <kho...@xs...> - 2006-01-04 20:26:39
|
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. http://sourceforge.net/mailarchive/message.php?msg_id=14327913 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 solution. So or we must make this XXX_BindingInit optional, or we must go for the wxModule solutions. What do you think, Klaas |