diff options
author | Patrik Nyblom <[email protected]> | 2010-02-26 16:23:27 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-03-10 15:07:38 +0100 |
commit | 58bf309625bb2fc99a7689d3ce2dcb6de2a3a04c (patch) | |
tree | 42a2f85f4d48214a75f36fd35f1b734371f7ead9 /lib/wx/c_src/wxe_impl.h | |
parent | e2f78fbb4dabb19dd908821febc64acd843ad5b4 (diff) | |
download | otp-58bf309625bb2fc99a7689d3ce2dcb6de2a3a04c.tar.gz otp-58bf309625bb2fc99a7689d3ce2dcb6de2a3a04c.tar.bz2 otp-58bf309625bb2fc99a7689d3ce2dcb6de2a3a04c.zip |
wx: Correct usage of driver callbacks from wx thread
Diffstat (limited to 'lib/wx/c_src/wxe_impl.h')
-rw-r--r-- | lib/wx/c_src/wxe_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/wx/c_src/wxe_impl.h b/lib/wx/c_src/wxe_impl.h index 5e9d596633..e6d5169cbc 100644 --- a/lib/wx/c_src/wxe_impl.h +++ b/lib/wx/c_src/wxe_impl.h @@ -34,15 +34,16 @@ class wxeMetaCommand : public wxEvent public: wxeMetaCommand(wxe_data *sd, int EvId) : wxEvent(EvId, wxeEVT_META_COMMAND) - { caller = driver_caller(sd->port); port = sd->port; } ; + { caller = driver_caller(sd->port); port = sd->port; pdl = sd->pdl; } ; wxeMetaCommand(const wxeMetaCommand& event) : wxEvent(event) - { caller = event.caller; port = event.port; }; + { caller = event.caller; port = event.port; pdl = event.pdl; }; virtual ~wxeMetaCommand() {}; virtual wxEvent *Clone() const { return new wxeMetaCommand(*this); } ErlDrvTermData caller; ErlDrvPort port; + ErlDrvPDL pdl; }; class wxeCommand : public wxObject |