On 25.11.2013 at 05:17 John Labenski wrote:
> On Sun, Nov 24, 2013 at 5:13 AM, Andreas Falkenhahn
> wrote:
>
> Hi John,
>
>
>>> I'm trying to port some C++ code to wxLua that derives a new class from
>>> wxTextCtrl and then overrides the OnRightClick() method of this class
>>> to do
On Sun, Nov 24, 2013 at 5:13 AM, Andreas Falkenhahn
wrote:
> Hi John,
>
>
> >> I'm trying to port some C++ code to wxLua that derives a new class from
> >> wxTextCtrl and then overrides the OnRightClick() method of this class
> >> to do some custom stuff when the user presses RMB over the widget.
Hi Andreas,
> My control is a wxTextCtrl so I don't think the tree ctrl events will work
> on them...
My bad; I misread wxTextCtrl as wxTreeCtrl. Apologies for the noise.
Paul.
--
Shape the Mobile Experience: Free Subsc
Hi John,
On 24.11.2013 at 06:44 John Labenski wrote:
> On Nov 23, 2013 4:30 PM, "Andreas Falkenhahn" wrote:
>> Hi,
>> I'm trying to port some C++ code to wxLua that derives a new class from
>> wxTextCtrl and then overrides the OnRightClick() method of this class
>> to do some custom stuff when
Hi Paul,
On 24.11.2013 at 02:12 Paul K wrote:
> Hi Andreas,
>> I'm trying to port some C++ code to wxLua that derives a new class from
>> wxTextCtrl and then overrides the OnRightClick() method of this class
>> to do some custom stuff when the user presses RMB over the widget.
> I'm using wxEVT
On Nov 23, 2013 4:30 PM, "Andreas Falkenhahn"
wrote:
>
> Hi,
>
> I'm trying to port some C++ code to wxLua that derives a new class from
> wxTextCtrl and then overrides the OnRightClick() method of this class
> to do some custom stuff when the user presses RMB over the widget.
Catch EVT_RIGHT_UP
Hi Andreas,
> I'm trying to port some C++ code to wxLua that derives a new class from
> wxTextCtrl and then overrides the OnRightClick() method of this class
> to do some custom stuff when the user presses RMB over the widget.
I'm using wxEVT_COMMAND_TREE_ITEM_MENU; I think there is also
TREE_ITE