- My updated "C++ coding style" page now is also in English - 4 Updates
- WxWidgets events question - 3 Updates
"Heinz Müller" <Heinz.Mueller69@gmail.com>: Jul 09 10:39AM +0200 Your styleguide is phantastic! Everyone should adhere to that!!!! |
Juha Nieminen <nospam@thanks.invalid>: Jul 10 09:32AM > stupid. "77 characters per line" in Polish means some thing like this: > "self dozens self fix in line" - and I suppose it means that with this > you will make your self stronger dozens times. I almost feel like you are trolling right now. You can't be serious. |
Juha Nieminen <nospam@thanks.invalid>: Jul 10 09:35AM > Ok. I can explain why I hate private functions and private variables and > not virtual destructors: Quite clearly you have no understanding of the principles of classical object-oriented programming, and you are trying to pass your personal preferences and distastes, which are based on your lack of understanding of the principles of OOP, as if they were some kind of recommended coding styles for C++. Just because *you* don't like private member functions and variables doesn't mean it's a good idea to recommend nobody use them. |
Juha Nieminen <nospam@thanks.invalid>: Jul 10 09:42AM > Your styleguide is phantastic! Everyone should adhere to that!!!! Examining the headers of this post makes me suspect that it's just a sock puppet by the OP. |
Szyk Cech <szykcech@spoko.pl>: Jul 10 06:00AM +0200 Hi I am nevbie to WxWidgets (my experience is mainly VCL and Qt), so please don't blame me if question is not very wise. I there any protection against deleted binded (target) object after you use Bind<>() (dynamic function binding)? I don't see any mention on the page: https://docs.wxwidgets.org/trunk/overview_events.html But maybe it is internal matter... thanks in advance and best regards Szyk Cech |
"Öö Tiib" <ootiib@hot.ee>: Jul 10 01:43AM -0700 On Wednesday, 10 July 2019 07:00:44 UTC+3, Szyk Cech wrote: > Hi > I am nevbie to WxWidgets (my experience is mainly VCL and Qt), so please > don't blame me if question is not very wise. Best WxWidgets discussions are perhaps at forums for it https://forums.wxwidgets.org/ > I there any protection against deleted binded (target) object after you > use Bind<>() (dynamic function binding)? IIRC then it is not dynamic signal-slot mechanism there. If source of events will for some reason outlive the target then you have to call Unbind before destruction of target "manually". The target of events is typically parent window of event sources and the source is child window. The child windows get destroyed before parent window in DestroyChildren (in first to last order). So the lifetime is usually not problem. > I don't see any mention on the page: > https://docs.wxwidgets.org/trunk/overview_events.html > But maybe it is internal matter... You perhaps missed or misunderstood that "But keep in mind that then the lifetime of myFrameHandler must be greater than that of MyFrame object – or at least it needs to be unbound before being destroyed." on the page. |
leigh.v.johnston@googlemail.com: Jul 10 01:46AM -0700 On Wednesday, July 10, 2019 at 5:00:44 AM UTC+1, Szyk Cech wrote: > I don't see any mention on the page: > https://docs.wxwidgets.org/trunk/overview_events.html > But maybe it is internal matter... What isn't very wise is using WxWidgets instead of Qt given that WxWidgets is an egregious rip off of the disaster that is MFC. Of course once neoGFX 1.0 is released using Qt will also be unwise. :) /Leigh |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment