[wx-dev] [ wxwindows-Patches-1679337 ] Bug Fixes for wxCocoa

Stefan Csomor csomor at advancedconcepts.ch
Thu Mar 15 08:54:54 PDT 2007


Hi

>  Sorry, I don't see why this should be a problem. If Create() is
> called
> from wxTLW ctor, then wxTLW::SetTitle() is called, i.e. just as
> before. If
> Create() is called from the derived class ctor, then a derived class
> SetTitle() may be called but this is probably ok -- if you overrode
> it, you
> must have wanted it to be called, didn't you?

if you just overrode SetTitle then that SetTitle will only be called in
a two phase creation, whereas in a direct creation via constructor only
the tlw will be called, this difference is what I wanted to point out. 

Best,

Stefan







More information about the wx-dev mailing list