aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen_cpp.erl
AgeCommit message (Collapse)Author
2018-12-03Merge branch 'dgud/wx/mojave-crash/OTP-15426' into maintDan Gudmundsson
* dgud/wx/mojave-crash/OTP-15426: wx: Do not delay deletes of wxGraphicContext
2018-11-16wx: Do not delay deletes of wxGraphicContextDan Gudmundsson
Fixes crash on Mojave, where refresh events are sent early and invoked recursively the delete of wxGraphicContext was delayed until after callback returned causing the crash to happen.
2018-06-18Update copyright yearHenrik Nord
2018-04-04Add new "constants" to wxGLCanvasDan Gudmundsson
They can't be constants because the order differ between 3.0.3 and 3.1. So they must be looked up in runtime.
2017-05-04Update copyright yearRaimo Niskanen
2017-02-14Fixed typos in lib/wxAndrew Dryga
2016-11-22wx: Do not dispatch commands after frequent eventsDan Gudmundsson
The user app may want to handle several mouse motion events before drawing new data for example.
2016-09-28wx: Add simple dropfiles supportDan Gudmundsson
Added wxDropFiles event
2016-05-30wx: Fix occasional seq fault after appliction stopsDan Gudmundsson
There seems to be a timeing dependent double delete when doing reference cleanup after wx:destroy(). wxGraphicsObjects can thus not be free'ed by wx in the cleanup phase. A guess is that the underlying rendering context deletes all graphics objects without careeing about wxWidgets reference counting.
2016-04-22wx: Fix callback problemsDan Gudmundsson
Commands could be executed twice, if the command was dispatched from a callback and caused a recursive invocation of command loop. Solution is to mark op as -1 before calling wxWidgets. Also commands could be missed when idle processing was done inside while executing a recursive callback, solved be always resetting peak index after idle processing is done.
2016-03-15update copyright-yearHenrik Nord
2016-03-01wx: Use wrapper classes where possibleDan Gudmundsson
2015-11-24wx: Add a command queue check after event sent to erlangDan Gudmundsson
Some events are callbacks inside wxWidgets so idle processing doesn't take place until operation is completed, for instance move/resize window on Windows. This way we get some response while mouse button is pressed.
2015-11-24wx: Add wxOverlayDan Gudmundsson
2015-09-02wx: Fix wxAuiManager:getAllPanes/1Dan Gudmundsson
It was broken.
2015-08-28wx: Add missing aui functionalityDan Gudmundsson
2015-06-30wx: Fix code generatorDan Gudmundsson
I had changed the (generatade) code without updating the code generator in commit 38cb91a9. Fixed now, and also fixed a typo in the generated licence code.
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-01wx: Optimize event and return value constructionDan Gudmundsson
Preallocated an rt array of 64 items (which covers 99%) of the calls and thus avoids allocation and copying in most cases.
2015-06-01wx: Fix bad float in return valuesDan Gudmundsson
To many floats in return value could cause a reallocation and pointers to reallocated data. Fix it by ensuring that the temp float array is large enough before add values to it.
2015-05-05wx: Fix delete objectDan Gudmundsson
delete_object used a deleted reference
2015-03-27wx: On Mac keyboards use meta field as raw_ctrlDan Gudmundsson
On mac and wxWidgets-3.0 the crtlDown field in keyboard and mouse events are set when command button is pressed. The ctrl key on mac keyboard is in a field called raw_control as this would be backward incompatible to add we reuse the metaDown field as indicator when the ctrl keyboard button is pressed.
2014-06-16wx: Fix destroy bugDan Gudmundsson
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.
2014-05-22wx: Add wxPopup(Transient)WindowDan Gudmundsson
Useful class though not documented in wxWidgets-2.8
2014-04-16wx: Add wxActivateEventDan Gudmundsson
2014-03-26wx: Add wxLocale classDan Gudmundsson
2014-02-13wx: Rewrite eventhandling againDan Gudmundsson
Remove the extra wxEvtListener that only caused confusion, now everything is automatically cleaned up by the destructors and event sent to erlang when it becomes delete for all cases.
2014-01-23wx: Delay all deletes if recursed in event loopDan Gudmundsson
Avoids crashes.
2014-01-14wx: Fix crash when garbage collect event handlers (debugger caused seg fault)Dan Gudmundsson
wxStyledTextCtrl had no wrapper class so, because it was not detected that it had virtual destructors, thus references to it was not cleaned up on destruction. When a process dies and wx cleans up the event handlers access was made to the deleted object and caused a seg fault. Added a testcase which I thought could provoke the bug but didn't.
2013-10-30wx: Fix cleanup of event handlersDan Gudmundsson
Event handlers was not removed after objects/process had been delete/died, which causes memory leakage and that fun's was kept in the wx_server process. Code that might be purged and the server died.
2013-01-16wx: Remove deprecated driver_send_term usageDan Gudmundsson
2013-01-09wx: Remove unnecessary castsDan Gudmundsson
2013-01-09wx: Fix changed getfunctionsDan Gudmundsson
wx-2.9 have changed some functions from returning references to objects to returning objects instead
2013-01-09wx: Fix int to enumDan Gudmundsson
In 2.9 several functions takes enum's instead of int as arguments, remove dirty -fpermissive fix and fix it correctly instead.
2013-01-09wx: Deprecate functions not available in wxWidgets-2.9Dan Gudmundsson
Prepare to remove functionality which is not available in coming wxWidgets versions.
2013-01-09wx: Fixes more changed/removed functionality in 2.9Dan Gudmundsson
2013-01-09wx: Ifdef changed/removed functionality in wxWidgets-2.9.xDan Gudmundsson
2012-03-16[wx] Fix listctrl issuesDan Gudmundsson
Wrong arguments / return values in: hitTest getItemPosition and getItemRect
2012-02-24[wx] Add wxTaskBarIcon classDan Gudmundsson
2012-02-20[wx] Fix api bugs in wxDCDan Gudmundsson
Some out arguments was in args.
2012-02-17[wx] Fix wxGraphicContext bugsDan Gudmundsson
* Lines had wrong arguments * Change float() to number in guards, when packing arguments integers are converted floats to automaticly anyway.
2011-11-10[wx] Add wxSystemOptionsDan Gudmundsson
Needed on mac
2011-07-07Add support for virtual listctrlsDan Gudmundsson
2010-11-15Initilize opengl after setCurrentDan Gudmundsson
No rendering context is available until setCurrent is called the first time, opengl extensions can not be loaded before the rendering context is created.
2010-11-15Split opengl functionality into separate dynamic libraryDan Gudmundsson
The idea is to build a separate opengl library which can be reused by other erlang applications.
2010-03-12Added a non existing macro on windows.Dan Gudmundsson
The new code generator doesn't resolve macros and a is missing (not used in wxWidgets) on windows.
2010-02-02Do not emit trailing whitespaceBjörn Gustavsson
2010-01-19wx: Improved wxTreeCtrl.Dan Gudmundsson
Changed representation of wxTreeItem to be int. This saves memory, where the driver don't need to keep a reference map for every tree item. And added getFirstChild and getNextChild to wxTreeCtrl.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP