[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] A GUI test for pasting
From: |
Greg Chicares |
Subject: |
Re: [lmi] A GUI test for pasting |
Date: |
Mon, 25 Feb 2008 23:33:00 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
On 2008-02-02 20:54Z, Vadim Zeitlin wrote:
>
> [...] this is just a particular instance of a general
> problem (you can't make (native) controls react to wx events) and we know
> that there is no good solution to it. In this particular case you could
> write the test working only under wxMSW using MSW-specific code (e.g.
> ::SendMessage(GetHwndOf(some_text_control), WM_PASTE, 0, 0)) but this is
> not really acceptable because not only it leaves other platforms untested
> but it's also difficult to generalize to other cases.
I've implemented that, in msw-specific function
void send_paste_message_to(wxWindow const& w)
added here:
http://cvs.sv.gnu.org/viewvc/lmi/lmi/main_wx.cpp?r1=1.96&r2=1.97&view=patch
Could I ask you to write a wxGTK implementation for this
particular case, if that's relatively easy to do?