aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src
AgeCommit message (Collapse)Author
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: Tiny optimizationDan Gudmundsson
Set context to avoid future lookups
2016-02-23wx: Fix a crash with sending two binaries to command queueDan Gudmundsson
Introduced when I optimized the binary handling.
2015-12-14Merge branch 'dgud/wx/fix-observer-display' into maintDan Gudmundsson
* dgud/wx/fix-observer-display: wx: Revert part of 617387025b698c
2015-12-12wx: Revert part of 617387025b698cDan Gudmundsson
Causes issues on mac and observer
2015-12-07wx: Add toolbar stretchablespaceDan Gudmundsson
Available since 3.0
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-11-23wx: Use only one ring buffer for command queueDan Gudmundsson
Avoid copying between command queues, cleaner, faster and safer implementation.
2015-09-02wx: Fix wxAuiManager:getAllPanes/1Dan Gudmundsson
It was broken.
2015-08-28wx: Add missing aui functionalityDan Gudmundsson
2015-07-02wx: Event callbacks could hang wx application temporaryDan Gudmundsson
After applying a command make sure that it didn't recurse to a callback invocation, then we must re-start from the saved command queue.
2015-07-01wx: Make wxLANGUAGE_ variableDan Gudmundsson
So they work on both wxWidgets-2.8 and 3.0
2015-06-30wx: Send wxWdigets assert to error loggerDan Gudmundsson
Instead of popping up an annoying msgbox
2015-06-30wx: Add mouse_capture_lost eventDan Gudmundsson
Needed to avoid asserts when capturing mouse on Windows.
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-05wx: Optimize binary argsDan Gudmundsson
2015-06-01wx: Driver lock cleanupDan Gudmundsson
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-12wx: Fix raise during emulator stoppageDan Gudmundsson
When emulator is stopped all drivers are stopped but not unloaded and since the clean wx thread stoppage code was in unload callback it was not called and could cause crashes.
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-05-05wx: Optimize command queuesDan Gudmundsson
Remove allocations
2015-04-13wx: Optimize OpenGL invocationsDan Gudmundsson
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: Send destroy message directDan Gudmundsson
Messages was routed via the wxe_server process, which caused process to never get the message.
2014-03-26wx: Add wxLocale classDan Gudmundsson
2014-03-25wx: Added misc functionsDan Gudmundsson
Nice to have functionality
2014-03-25wx: Fix memory garbage collectorDan Gudmundsson
2014-03-25wx: Fix possibility to fetch early open msgs on macDan Gudmundsson
Mac doesn't add clicked files to program arguments, a callback is invoked instead, send msgs to erlang about them.
2014-03-20wx: Fix listCtrl sort callbackDan Gudmundsson
2014-02-24Use correct variable name for silent rule C++ compilerTuncer Ayaz
Using CPP as the variable name for the C++ compiler makes no sense, as CPP usually refers to the C/C++ preprocessor. That's why we have CXXFLAGS for C++ and CPPFLAGS for the C/C++ preprocessor.
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-22wx: wx could hang if wxe_server died (or had died) when inside a callbackDan Gudmundsson
The pid is not available via driver_caller(..) (see wxeCommand constr) inside driver_monitor callback.
2014-01-22wx: Delay memory cleanup until safeDan Gudmundsson
Previously we could do a cleanup while we where recursed down and thus delete the objects we where invoking.
2014-01-21wx: Refactor C++ codeDan Gudmundsson
Try to clean up the files a bit
2014-01-21wx: Add init_dialog eventDan Gudmundsson
It was missing.
2014-01-16wx: Fix hanging wx callsDan Gudmundsson
wxWakeUpIdle doesn't always work on wxGTK and the workaround is to periodically invoke it, so the gui-thread doesn't get stuck in poll. Previously it was only called when NOT in batch mode, however if the wxWakeUpIdle call after a batch_begin command did not wake up the thread it would still get stuck in poll.
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-12-02wx: Fix silent make rulesAnthony Ramine
2013-11-29wx: Fix initializationDan Gudmundsson
The first window didn't get activated when using old method and new wxWidgets-3.0.1.