aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen
AgeCommit message (Collapse)Author
2016-10-17wx: Improve error handlingDan Gudmundsson
Fix error handling in gl as in wx.
2016-10-07wx: Add wxWindow:getContentScaleFactorDan Gudmundsson
2016-10-05Fix guard test for chardataDan Gudmundsson
Previously only accepted lists tough a call is made to unicode:characters_to_binary/1, and the functions where specified to handle chardata.
2016-09-29wx: add wxWindowDragAcceptFilesDan Gudmundsson
Enable window to handle drop file events.
2016-09-28wx: Add simple dropfiles supportDan Gudmundsson
Added wxDropFiles event
2016-07-05wx: Add missing specsDan Gudmundsson
Some taylormade functions still used edoc spec's, and some where wrong which caused broken links. Change them to be real spec's and correct the types.
2016-05-31Merge branch 'dgud/wx/fix-seqfault-in-cleanup'Dan Gudmundsson
* dgud/wx/fix-seqfault-in-cleanup: wx: Fix occasional seq fault after appliction stops
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-05-24wx: Quote atoms in types and specsDan Gudmundsson
Follow the convention and make atom more visibile in types and specs
2016-05-12wx: Fix generated defines in gl.hrlDan Gudmundsson
2016-04-28wx: Remove non implemented wxGauge functionsDan Gudmundsson
These functions have been removed from wxWidgets-3.1 and according to documentation have been noops anyway. So remove them to make wx build with wxWidgets-3.1 if wxWidgets is compiled with --enable-compat28
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-04-13Merge branch 'henrik/update-copyrightyear'Henrik Nord
* henrik/update-copyrightyear: update copyright-year
2016-04-04wx: Fix wxListCtrl:hitTest arguments and delivered resultsDan Gudmundsson
May cause incompatibility for applications but the flags argument is out only in C++.
2016-04-04wx: Fix type error in wxMouseState recordDan Gudmundsson
severe typo
2016-03-15update copyright-yearHenrik Nord
2016-03-01wx: Use wrapper classes where possibleDan Gudmundsson
2016-02-29wx: Add wxWindow:SetTransparent and CanSetTransperantDan Gudmundsson
Available in at least 2.8.12 and later.
2016-02-29wx: Add wxWindow SetDoubleBuffered and IsDoubleBuffered from wxWidgets 3.0Dan Gudmundsson
This is really needed on windows to get rid of flickering when updating some widgets. These functions are only available if 3.0 and not on mac where everything is double buffered already.
2016-02-29wx: Remove http_util usageDan Gudmundsson
Use erlang builtin list_to_integer instead
2015-12-07wx: Add toolbar stretchablespaceDan Gudmundsson
Available since 3.0
2015-12-03wx: Fix some function specificationsDan 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: Make wxPostScriptDC optionalDan Gudmundsson
By default wxUSE_POSTSCRIPT is not enabled on Windows, make it optional, postscript generation doesn't work that good and is probably never used on windows anyway.
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-07-07wx: Add event callback fastpathDan Gudmundsson
Avoids spawn but can deadlock
2015-07-01wx: Make wxLANGUAGE_ variableDan Gudmundsson
So they work on both wxWidgets-2.8 and 3.0
2015-06-30wx: Add mouse_capture_lost eventDan Gudmundsson
Needed to avoid asserts when capturing mouse on Windows.
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: Add missing data in eventsDan Gudmundsson
Some events where missing useful information. May require user code recompilation, since some records in wx.hrl have chnaged it's definition.
2015-05-05wx: Fix delete objectDan Gudmundsson
delete_object used a deleted reference
2015-03-27wx: Fix variable cursor constantsDan Gudmundsson
Fix cursor constants that changes with OS and wxWidgets releases.
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-05-13wx: Fix non constant define (wxSL_LABELS)Dan Gudmundsson
wxSL_LABELS have changed constant value in 3.0, make version agnostic by doing a lookup during runtime instead of constant. Thanks Enrique Fernández (efcasado)
2014-04-16wx: Add wxActivateEventDan Gudmundsson
2014-04-16wx: Add missing wxTextCtrl:changeValueDan Gudmundsson
It was missing.
2014-03-26wx: Add wxLocale classDan Gudmundsson
2014-03-25wx: Added misc functionsDan Gudmundsson
Nice to have functionality
2014-03-20wx: Fix listCtrl sort callbackDan Gudmundsson
2014-02-14Merge branch 'dgud/wx/fix-cb-cleanup/OTP-11699'Dan Gudmundsson
* dgud/wx/fix-cb-cleanup/OTP-11699: wx: Test fixes compilation warning wx: Do not warn for our own deprecated functions wx: Rewrite eventhandling again
2014-02-13wx: Do not warn for our own deprecated functionsDan 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-02-07Merge branch 'hsv/using_lists_droplast'Henrik Nord
* hsv/using_lists_droplast: lib/mnesia/test/ - Replace reverse(tl(reverse(L))) with lists:droplast/1 lib/ssh - Replace reverse(tl(reverse(L))) with lists:droplast/1 lib/wx - Replace reverse(tl(reverse(L))) with lists:droplast/1 Use lists:droplast/1 in orber/orber_interceptors.erl Import and use lists:droplast/1 in v3_core/v3_kernel OTP-11678 OTP-11677