Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Some annoying symbols-browser issues

<< < (4/6) > >>

Loaden:

--- Quote from: jens on August 02, 2011, 11:09:33 pm ---The attached patch seems to fix the event-handler issue and should not break anything other.
Can you please test it ?

--- End quote ---
It's works. But why? It's wxWidgets's bug?

ollydbg:

--- Quote from: Loaden on August 03, 2011, 03:43:06 am ---
--- Quote from: jens on August 02, 2011, 11:09:33 pm ---The attached patch seems to fix the event-handler issue and should not break anything other.
Can you please test it ?

--- End quote ---
It's works. But why? It's wxWidgets's bug?

--- End quote ---
I have the same question hare, the patches seems only convert the event-handler map from static macro definition to dynamically linked style, are there much difference on propagate messages? I guess it is a bug in Linux version of wxWidgets. :D

MortenMacFly:

--- Quote from: Loaden on August 03, 2011, 03:43:06 am ---It's works. But why? It's wxWidgets's bug?

--- End quote ---


--- Quote from: ollydbg on August 03, 2011, 05:39:56 am ---I have the same question hare, the patches seems only convert the event-handler map from static macro definition to dynamically linked style, are there much difference on propagate messages?

--- End quote ---

It's not a bug, but a matter of ordering the event handling. In fact, the wx guys really encourage to use this method (see here: http://wxwidgets.blogspot.com/2007/01/in-praise-of-connect.html). I am using it all the time in my personal projects and once you get used to it it's really quite handy. Especially the ability to switch the event propagation temporarily off for certain reasons is nice.


So I think we can safely apply Jens' patch.

ollydbg:

--- Quote from: MortenMacFly on August 03, 2011, 07:04:01 am ---
--- Quote from: Loaden on August 03, 2011, 03:43:06 am ---It's works. But why? It's wxWidgets's bug?

--- End quote ---


--- Quote from: ollydbg on August 03, 2011, 05:39:56 am ---I have the same question hare, the patches seems only convert the event-handler map from static macro definition to dynamically linked style, are there much difference on propagate messages?

--- End quote ---

It's not a bug, but a matter of ordering the event handling. In fact, the wx guys really encourage to use this method (see here: http://wxwidgets.blogspot.com/2007/01/in-praise-of-connect.html). I am using it all the time in my personal projects and once you get used to it it's really quite handy. Especially the ability to switch the event propagation temporarily off for certain reasons is nice.


So I think we can safely apply Jens' patch.

--- End quote ---
Jens' patch indeed solve the problem, but I still believe its a bug in wx, because there is no reason that the event_table way does not work. (although wx guys use/suggest dynamical way, but the static event_table way should always work), and looking at c::b's source, there are many event_table usages. :D

Loaden:

--- Quote from: ollydbg on August 03, 2011, 07:13:57 am ---Jens' patch indeed solve the problem, but I still believe its a bug in wx, because there is no reason that the event_table way does not work. (although wx guys use/suggest dynamical way, but the static event_table way should always work), and looking at c::b's source, there are many event_table usages. :D

--- End quote ---
I have the same point!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version