Age | Commit message (Collapse) | Author |
|
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.
|
|
* henrik/update-copyrightyear:
update copyright-year
|
|
May cause incompatibility for applications but the flags argument is
out only in C++.
|
|
|
|
|
|
Available in at least 2.8.12 and later.
|
|
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.
|
|
Set context to avoid future lookups
|
|
Introduced when I optimized the binary handling.
|
|
* dgud/wx/fix-observer-display:
wx: Revert part of 617387025b698c
|
|
Causes issues on mac and observer
|
|
Available since 3.0
|
|
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.
|
|
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.
|
|
|
|
Avoid copying between command queues, cleaner, faster and
safer implementation.
|
|
It was broken.
|
|
|
|
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.
|
|
So they work on both wxWidgets-2.8 and 3.0
|
|
Instead of popping up an annoying msgbox
|
|
Needed to avoid asserts when capturing mouse on Windows.
|
|
|
|
|
|
|
|
Preallocated an rt array of 64 items (which covers 99%) of the calls
and thus avoids allocation and copying in most cases.
|
|
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.
|
|
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.
|
|
Some events where missing useful information.
May require user code recompilation, since some records in wx.hrl
have chnaged it's definition.
|
|
delete_object used a deleted reference
|
|
Remove allocations
|
|
|
|
Fix cursor constants that changes with OS and wxWidgets releases.
|
|
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.
|
|
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.
|
|
Useful class though not documented in wxWidgets-2.8
|
|
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)
|
|
|
|
It was missing.
|
|
Messages was routed via the wxe_server process, which caused process
to never get the message.
|
|
|
|
Nice to have functionality
|
|
|
|
Mac doesn't add clicked files to program arguments, a callback
is invoked instead, send msgs to erlang about them.
|
|
|
|
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.
|
|
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.
|
|
Avoids crashes.
|
|
The pid is not available via driver_caller(..) (see wxeCommand constr)
inside driver_monitor callback.
|
|
Previously we could do a cleanup while we where recursed down
and thus delete the objects we where invoking.
|