aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/wxe_impl.h
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-05-22 13:46:53 +0200
committerDan Gudmundsson <[email protected]>2014-06-16 12:10:48 +0200
commit190c04f50ab22e0227a0d5cfd67767db0b687c97 (patch)
tree0cbf50113363b927545d4d931961f3261893850f /lib/wx/c_src/wxe_impl.h
parentb146f66ea96bacca6915f7e3b29ac7dcebd93119 (diff)
downloadotp-190c04f50ab22e0227a0d5cfd67767db0b687c97.tar.gz
otp-190c04f50ab22e0227a0d5cfd67767db0b687c97.tar.bz2
otp-190c04f50ab22e0227a0d5cfd67767db0b687c97.zip
wx: Fix destroy bug
Do not postpone deletion of wx*DC objects since they need to be deleted directly. Otherwise, if inside showModal, causes an eternal loop of wxPaint events on Windows.
Diffstat (limited to 'lib/wx/c_src/wxe_impl.h')
-rw-r--r--lib/wx/c_src/wxe_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/wx/c_src/wxe_impl.h b/lib/wx/c_src/wxe_impl.h
index 5b23e1cbbd..57bf2e2dba 100644
--- a/lib/wx/c_src/wxe_impl.h
+++ b/lib/wx/c_src/wxe_impl.h
@@ -80,6 +80,7 @@ public:
int getRef(void * ptr, wxeMemEnv *memenv);
void * getPtr(char * bp, wxeMemEnv *memenv);
void clearPtr(void *ptr);
+ wxeRefData * getRefData(void *ptr);
void registerPid(char *ptr, ErlDrvTermData pid, wxeMemEnv *memenv);
void init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller);