<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/wxlua/patches/" rel="alternate"/><link href="https://sourceforge.net/p/wxlua/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/wxlua/patches/</id><updated>2014-02-04T05:57:10.856000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#11 wxMessageDialog methods</title><link href="https://sourceforge.net/p/wxlua/patches/11/?limit=25#1624" rel="alternate"/><published>2014-02-04T05:57:10.856000Z</published><updated>2014-02-04T05:57:10.856000Z</updated><author><name>John Labenski</name><uri>https://sourceforge.net/u/jrl1/</uri></author><id>https://sourceforge.net41f3f38b523a0b0d873b55d8017ec209b991cfec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: John Labenski&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#12 Add wxInfoBar</title><link href="https://sourceforge.net/p/wxlua/patches/12/?limit=25#36ab" rel="alternate"/><published>2014-01-28T04:43:34.976000Z</published><updated>2014-01-28T04:43:34.976000Z</updated><author><name>John Labenski</name><uri>https://sourceforge.net/u/jrl1/</uri></author><id>https://sourceforge.net9e88a2501a26a49f3e4f618f9630191a93ffb944</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: John Labenski&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Add wxInfoBar</title><link href="https://sourceforge.net/p/wxlua/patches/12/" rel="alternate"/><published>2013-12-16T20:09:51.414000Z</published><updated>2013-12-16T20:09:51.414000Z</updated><author><name>Mike Richards</name><uri>https://sourceforge.net/u/mrichards42/</uri></author><id>https://sourceforge.net086fbef7c1f71b1bd09d0bb4bf88bda7a45a9db8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch adds the wxInfoBar class.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add wxInfoBar</title><link href="https://sourceforge.net/p/wxlua/patches/12/" rel="alternate"/><published>2013-12-16T20:09:51.414000Z</published><updated>2013-12-16T20:09:51.414000Z</updated><author><name>Mike Richards</name><uri>https://sourceforge.net/u/mrichards42/</uri></author><id>https://sourceforge.net137d23b967053e3b965a1cd6965050838450f438</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 12 has been modified: Add wxInfoBar&lt;br /&gt;
Edited By: John Labenski (jrl1)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed-accepted'&lt;br /&gt;
Owner updated: None =&amp;gt; u'jrl1'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>wxMessageDialog methods</title><link href="https://sourceforge.net/p/wxlua/patches/11/" rel="alternate"/><published>2013-12-10T22:18:23.415000Z</published><updated>2013-12-10T22:18:23.415000Z</updated><author><name>Mike Richards</name><uri>https://sourceforge.net/u/mrichards42/</uri></author><id>https://sourceforge.net0810ed82371e295e72c5ce31e956d9065183c0ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch adds all of the remaining methods to wxMessageDialog.  Methods that take a ButtonLabel parameter are overloaded with both wxString and int parameters, though unlike in C++ you can't mix wxString and stock ids in the same call.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>wxMessageDialog methods</title><link href="https://sourceforge.net/p/wxlua/patches/11/" rel="alternate"/><published>2013-12-10T22:18:23.415000Z</published><updated>2013-12-10T22:18:23.415000Z</updated><author><name>Mike Richards</name><uri>https://sourceforge.net/u/mrichards42/</uri></author><id>https://sourceforge.net239fbea7709ec6b5b050addc13ae478556d7358b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 11 has been modified: wxMessageDialog methods&lt;br /&gt;
Edited By: John Labenski (jrl1)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed-accepted'&lt;br /&gt;
Owner updated: None =&amp;gt; u'jrl1'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Printing added to the editor</title><link href="https://sourceforge.net/p/wxlua/patches/10/" rel="alternate"/><published>2010-12-06T17:11:23Z</published><updated>2010-12-06T17:11:23Z</updated><author><name>Andre Arpin</name><uri>https://sourceforge.net/u/andrearpin/</uri></author><id>https://sourceforge.nete0d7724c3183e18eea7f6b2d8d39e7643c293822</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This version of the editor support printing. I try to add preview but to no avail.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>use by VS</title><link href="https://sourceforge.net/p/wxlua/patches/9/" rel="alternate"/><published>2008-12-11T19:27:41Z</published><updated>2008-12-11T19:27:41Z</updated><author><name>Andre Arpin</name><uri>https://sourceforge.net/u/andrearpin/</uri></author><id>https://sourceforge.netc9cd1454a7722e2971aedf7f8aa17b3974b4da37</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A simple source file&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A larger grid example</title><link href="https://sourceforge.net/p/wxlua/patches/8/" rel="alternate"/><published>2008-12-11T19:21:46Z</published><updated>2008-12-11T19:21:46Z</updated><author><name>Andre Arpin</name><uri>https://sourceforge.net/u/andrearpin/</uri></author><id>https://sourceforge.net8ff21d889584eef1eee35a362b52e0ef7befc5de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is an emulation of a very simple computer that I intend to use to show some concepts of computer. It also illustrte using wxGrid.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>BUILTIN_CAST breaks bitlib on windows</title><link href="https://sourceforge.net/p/wxlua/patches/7/" rel="alternate"/><published>2008-02-24T12:40:58Z</published><updated>2008-02-24T12:40:58Z</updated><author><name>doc_bacardi</name><uri>https://sourceforge.net/u/userid-1911142/</uri></author><id>https://sourceforge.neta11504f73d225fa9315e3acf6b5827b290ebc67c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;bitlib on windows does not work with numbers &amp;gt;0x80000000. It claims to support 32 bits though:&lt;/p&gt;
&lt;p&gt;&amp;gt; print(bit.bits)&lt;br /&gt;
32&lt;/p&gt;
&lt;p&gt;But it truncates numbers &amp;gt;0x80000000:&lt;br /&gt;
&amp;gt; print(string.format("%08X", bit.cast(0x40000000)))&lt;br /&gt;
40000000&lt;br /&gt;
&amp;gt; print(string.format("%08X", bit.cast(0x80000000)))&lt;br /&gt;
80000000&lt;br /&gt;
&amp;gt; print(string.format("%08X", bit.cast(0xffffffff)))&lt;br /&gt;
80000000&lt;/p&gt;
&lt;p&gt;This explains strange results like this:&lt;br /&gt;
&amp;gt; print(bit.band(0xffffffff, 0x40000000))&lt;br /&gt;
0&lt;/p&gt;
&lt;p&gt;This is a windows-only bug. The linux version works. Numbers are not truncated and above "band" operation results in 0x40000000.&lt;/p&gt;
&lt;p&gt;The attached patch fixes the problem for MSVC 7.10 .&lt;/p&gt;
&lt;p&gt;Details:&lt;br /&gt;
bitlib needs to convert lua numbers to integer and offers 2 ways to do this. If BUILTIN_CAST is defined, it uses the builtin conversion from lua, otherwise a custom routine is used. wxLua always uses the builtin cast, and this seems to be the source of the problem. The patch selects the custom conversion routine if '__VISUALC__' is defined.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>