<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/wx/api_gen, branch maint</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Fix showModal crash on Mojave</title>
<updated>2019-01-25T08:48:48+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2019-01-25T07:38:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d7805acb99f2b7ccd97541d189f6494966564d98'/>
<id>d7805acb99f2b7ccd97541d189f6494966564d98</id>
<content type='text'>
Invoking wxDialog:showModal could cause a seg-fault on Mojave
if invoked from inside event callback.

Which could happen when wx dispatch commands inside send_event.
Wx dispatches commands inside send_event because some events
will not return to idle mode (on Windows) until mouse is released.

These events are (at least) wxSize and wxMove according to previous
commits.

Solved by only dispatching commands for those events.
Another solution might be to ifdef the code to only do it on windows
or not do it on the Mac.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Invoking wxDialog:showModal could cause a seg-fault on Mojave
if invoked from inside event callback.

Which could happen when wx dispatch commands inside send_event.
Wx dispatches commands inside send_event because some events
will not return to idle mode (on Windows) until mouse is released.

These events are (at least) wxSize and wxMove according to previous
commits.

Solved by only dispatching commands for those events.
Another solution might be to ifdef the code to only do it on windows
or not do it on the Mac.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add wxGCDC</title>
<updated>2018-12-13T13:18:20+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-12-13T13:18:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f180ccc75a7d2cef6b469d2e4a737cffbef7c951'/>
<id>f180ccc75a7d2cef6b469d2e4a737cffbef7c951</id>
<content type='text'>
Been included in wxWidgets since 2.7.1, but not documented and
have been missed in wx.

Is documented in 3.0.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Been included in wxWidgets since 2.7.1, but not documented and
have been missed in wx.

Is documented in 3.0.0
</pre>
</div>
</content>
</entry>
<entry>
<title>wx: Add wxDisplay</title>
<updated>2018-12-13T11:00:52+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-12-13T11:00:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3116b656c70a3bc623704c28cf6e3b9c1e075bad'/>
<id>3116b656c70a3bc623704c28cf6e3b9c1e075bad</id>
<content type='text'>
Have been around since 2.6 but undocumented, add it since it is
useful in multi-display setup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Have been around since 2.6 but undocumented, add it since it is
useful in multi-display setup.
</pre>
</div>
</content>
</entry>
<entry>
<title>wx: Change wxFONTWEIGHT enums</title>
<updated>2018-12-13T07:54:37+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-12-13T07:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3fedd4fa16e9d4cd27085e0dcf4154a301713566'/>
<id>3fedd4fa16e9d4cd27085e0dcf4154a301713566</id>
<content type='text'>
They have changed in 3.1.2 make them non-consts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They have changed in 3.1.2 make them non-consts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dgud/wx/mojave-crash/OTP-15426' into maint</title>
<updated>2018-12-03T08:36:50+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-12-03T08:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d5632bfb023ac2c0ae25783f7eae3b060164de0b'/>
<id>d5632bfb023ac2c0ae25783f7eae3b060164de0b</id>
<content type='text'>
* dgud/wx/mojave-crash/OTP-15426:
  wx: Do not delay deletes of wxGraphicContext
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/wx/mojave-crash/OTP-15426:
  wx: Do not delay deletes of wxGraphicContext
</pre>
</div>
</content>
</entry>
<entry>
<title>wx: Do not delay deletes of wxGraphicContext</title>
<updated>2018-11-16T10:34:40+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-11-16T08:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2634c45c63dc6038ab9c738e9ab8ace490802f6d'/>
<id>2634c45c63dc6038ab9c738e9ab8ace490802f6d</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2018-06-18T12:51:18+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2018-06-18T12:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5ca92e2eac1e84fd22f60e7abc3aa2b0ff1cb42b'/>
<id>5ca92e2eac1e84fd22f60e7abc3aa2b0ff1cb42b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dgud/wx/glcanvas-improvements'</title>
<updated>2018-04-19T10:17:08+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-04-19T10:17:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=060d1982d93b83c142e594a88433c4cf80032533'/>
<id>060d1982d93b83c142e594a88433c4cf80032533</id>
<content type='text'>
* dgud/wx/glcanvas-improvements:
  Add new "constants" to wxGLCanvas
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/wx/glcanvas-improvements:
  Add new "constants" to wxGLCanvas
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new "constants" to wxGLCanvas</title>
<updated>2018-04-04T11:08:33+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-04-04T11:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cb7a9a70e9c04b972906013fd44dac86ec0b442e'/>
<id>cb7a9a70e9c04b972906013fd44dac86ec0b442e</id>
<content type='text'>
They can't be constants because the order differ between 3.0.3 and 3.1.
So they must be looked up in runtime.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They can't be constants because the order differ between 3.0.3 and 3.1.
So they must be looked up in runtime.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add backwards compatibility for wxWidgets-3.1.1</title>
<updated>2018-04-03T12:27:41+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2018-04-03T12:27:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=04f1bfac7a6db7d6a030190ea6bc89cf493af2eb'/>
<id>04f1bfac7a6db7d6a030190ea6bc89cf493af2eb</id>
<content type='text'>
wx did not build with wxWidgets-3.1.1 since they have removed
wxGraphicsRenderer:CreatePen(wxPen).

Get the pen info and create the pen from that in 3.1.1 as
is done for wxGrahicsContext:CreatePen(wxPen).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
wx did not build with wxWidgets-3.1.1 since they have removed
wxGraphicsRenderer:CreatePen(wxPen).

Get the pen info and create the pen from that in 3.1.1 as
is done for wxGrahicsContext:CreatePen(wxPen).
</pre>
</div>
</content>
</entry>
</feed>
