aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen_cpp.erl
AgeCommit message (Collapse)Author
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