<?xml version="1.0" ?><feed xmlns="http://www.w3.org/2005/Atom">
  <title type="text">wxFormBuilder Issues::</title>
  <subtitle type="text">
    wxFormBuilder Issues  </subtitle>
  <id>http://issues.wxformbuilder.org/</id>
    <updated>2010-07-30T23:04:15Z</updated>
  <link rel="self" type="text/xml" href="feed.php?feed_type=atom"/>
  <link rel="alternate" type="text/html" hreflang="en" href="/feed.php"/>
    <entry>
    <title>FS#463: adds &#039;public&#039; to python class when doing &#039;subclass&#039;</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=463" />    
    <updated>2010-07-30T23:04:15Z</updated>    
    <published>2010-07-30T23:04:15Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
What steps will reproduce the problem?
</p>
<ol>
<li class="level1"><div class="li"> Create a project to generate python code</div>
</li>
<li class="level1"><div class="li"> Add a panel to the project, select the panel object</div>
</li>
<li class="level1"><div class="li"> Under Object Properties &rarr; &lsquo;subclass&rsquo; add &lsquo;MyCustomPanel&rsquo; as the subclass name</div>
</li>
</ol>

<p>
 What is the expected output? What do you see instead? expected: 
</p>
<pre class="code">class MyPanel4 ( MyCustomPanel ):</pre>
<pre class="code"></pre>

<p>
got:
</p>
<pre class="code">&lt;code&gt;class MyPanel4 ( public MyCustomPanel ):&lt;/code&gt;</pre>

<p>
 The word &lsquo;public&rsquo; is a syntax error in Python.
</p>
      </div>
    </content>
    <author><name>Michael Hipp</name></author>
    <id>http://issues.wxformbuilder.org/:463</id>
  </entry>
    <entry>
    <title>FS#462: &quot;Internationalize&quot; property is not only a C++ property</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=462" />    
    <updated>2010-06-02T15:57:16Z</updated>    
    <published>2010-06-02T15:57:16Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
What steps will reproduce the problem?
</p>
<ol>
<li class="level1"><div class="li"> Open a new project</div>
</li>
<li class="level1"><div class="li"> Clic on root item of project tree</div>
</li>
<li class="level1"><div class="li"> On the &ldquo;Properties&rdquo; tab of Object Properties pane, under &ldquo;C++ properties&rdquo;, clic &ldquo;internationalize&rdquo;</div>
</li>
</ol>

<p>
 What is the expected output? What do you see instead? On the lower pane the help string &ldquo;For C++ only&rdquo; appears. However, i18n is also avaliable for Python. Thus the &ldquo;internationalize&rdquo; property should be moved just under &ldquo;Project&rdquo;, and &ldquo;For C++ only&rdquo; should be removed from the help string.
</p>
      </div>
    </content>
    <author><name>Luca Allulli</name></author>
    <id>http://issues.wxformbuilder.org/:462</id>
  </entry>
    <entry>
    <title>FS#461: build errors on Fedora 12 w/ gcc 4.4.3</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=461" />    
    <updated>2010-03-21T21:59:56Z</updated>    
    <published>2010-03-21T21:59:56Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
On Fedora 12 with gcc 4.4.3 I encountered the following build issues:
</p>

<p>
create_build_files.sh is written in MSDOS format (LF+CR) and fails to run because of the ^M on the shabang line.  It needs to be converted to unix format using: &ldquo;dos2unix create_build_files.sh&rdquo;.  This likely effects all Linux/Unix builds.
</p>

<p>
Two source files had build errors due to missing header files (this is likely to be compiler-specific):
</p>

<p>
sdk/tinyxml/ticpp.cpp needs:
</p>
<pre class="code">#include &lt;typeinfo&gt;</pre>

<p>
 src/dbg_stack_trace/stack.cpp needs:
</p>
<pre class="code">#include &lt;cstdlib&gt;  (for free())
#include &lt;cstring&gt;  (for strcmp())</pre>
      </div>
    </content>
    <author><name>Ray</name></author>
    <id>http://issues.wxformbuilder.org/:461</id>
  </entry>
    <entry>
    <title>FS#460: wx.listCtrl and wx.EVT_LIST_ITEM_DESELECTED event</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=460" />    
    <updated>2010-03-18T17:56:38Z</updated>    
    <published>2010-03-18T17:56:38Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
What steps will reproduce the problem?
</p>
<ol>
<li class="level1"><div class="li"> Using wxFormBuilder in Linux Version 3.1.64-beta</div>
</li>
<li class="level1"><div class="li"> I create a wxlistCtrl named myListCtrl with a OnListItemDeselected event </div>
</li>
</ol>

<p>
 In the python code, I have:
</p>
<pre class="code">self.name.Bind( wx.EVT_LIST_ITEM_DESELECTED, self.onDeselect)</pre>

<p>
instead of:
</p>
<pre class="code">self.myListCtrl.Bind( wx.EVT_LIST_ITEM_DESELECTED, self.onDeselect)</pre>

<p>
the others events work well: 
</p>
<pre class="code">self.myListCtrl.Bind( wx.EVT_LIST_COL_CLICK, self.onCol )
self.name.Bind( wx.EVT_LIST_ITEM_DESELECTED, self.onDeselect )
self.myListCtrl.Bind( wx.EVT_LIST_ITEM_SELECTED, self.onChange )</pre>
      </div>
    </content>
    <author><name>nicolas</name></author>
    <id>http://issues.wxformbuilder.org/:460</id>
  </entry>
    <entry>
    <title>FS#458: Change a property for many widgets</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=458" />    
    <updated>2010-03-03T10:32:27Z</updated>    
    <published>2010-03-03T10:32:27Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
It would be very helpful to have the possibility to change a property for many widgets in the same time. I explain my problem : Currently, if you have to disable the wxALL border for 30 wxStaticText, you must click on each wxStaticText one by one and disable its wxALL border. One possibility would be to select all the widgets we want to change, and their common properties would be shown in the property panel. So, you just have to modify the property you want. Another alternative is to allow the user to create some shortcuts. For my example, you create a shortcut to disable wxALL border, so after you just have to click on each widget and press your shortcut. 
</p>
      </div>
    </content>
    <author><name>Yohann</name></author>
    <id>http://issues.wxformbuilder.org/:458</id>
  </entry>
    <entry>
    <title>FS#457: Enable/Disable prefix &#039;m_&#039;</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=457" />    
    <updated>2010-03-03T10:22:48Z</updated>    
    <published>2010-03-03T10:22:48Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
As we can now generate Python Code in wxFB v3.1 beta, it would be useful to have the possibility to disable the prefix &lsquo;m_&rsquo; for the name of the widgets, because in Python we already have the &lsquo;self.&rsquo; to distinguish class attributes. 
</p>
      </div>
    </content>
    <author><name>Yohann</name></author>
    <id>http://issues.wxformbuilder.org/:457</id>
  </entry>
    <entry>
    <title>FS#455: Option for using spaces for indentation instead of tabs</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=455" />    
    <updated>2010-02-18T20:21:07Z</updated>    
    <published>2010-02-18T20:21:07Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
Most people use spaces for indentation, it would be useful to have an option for what kind of indentation wxFormBuilder generates.
</p>

<p>
This is an issue when the generated empty methods for events are copy-pasted into other files. 
</p>
      </div>
    </content>
    <author><name>Toni Ruža</name></author>
    <id>http://issues.wxformbuilder.org/:455</id>
  </entry>
    <entry>
    <title>FS#453: Subclass attribute for the custom control is not generated in the XRC</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=453" />    
    <updated>2010-01-22T19:37:51Z</updated>    
    <published>2010-01-22T19:37:51Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
What steps will reproduce the problem?
</p>
<ol>
<li class="level1"><div class="li"> Create custom control</div>
</li>
<li class="level1"><div class="li"> Add some text for subclass property</div>
</li>
<li class="level1"><div class="li"> Switch to XRC tab</div>
</li>
<li class="level1"><div class="li"> Verify that custom control has no subclass attribute</div>
</li>
</ol>

<p>
 This is non-intuitive because the user would expect that if data has been entered in the subclass property of the control that it should be present in the output of any format that supports it.  wxFB appears to support the subclass feature for every other control. 
</p>
      </div>
    </content>
    <author><name>Jack Daniels</name></author>
    <id>http://issues.wxformbuilder.org/:453</id>
  </entry>
    <entry>
    <title>FS#451: app crashes on new form with &#039;BadMatch&#039; X error in kubuntu 9.10</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=451" />    
    <updated>2009-12-11T07:15:41Z</updated>    
    <published>2009-12-11T07:15:41Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
What steps will reproduce the problem?
</p>
<ol>
<li class="level1"><div class="li"> Install wxFormBuilder on Kubuntu 9.10 from repository.</div>
</li>
<li class="level1"><div class="li"> Run wxFormBuilder.</div>
</li>
<li class="level1"><div class="li"> Navigate to FORMS tab and select any of the three form types.</div>
</li>
</ol>

<p>
 What is the expected output? What do you see instead?
</p>
<pre class="code">wxFormBuilder immediately crashes regardless of weather the project is saved prior to creating a form or no.  Here are the last few lines of strace including the output error message:</pre>

<p>
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}]) writev(10, [{&rdquo;\22\0\7\0\376\5\300\2\366\0\0\0!\0\0\0 \4\7\0\1\0\0\0\1\0\300\2\22 \0\7\0&rdquo;..., 3256}, {NULL, 0}, {&rdquo;&ldquo;, 0}], 3) = 3256 poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}]) read(10, &ldquo;\34\322\347C\376\5\300\2\22\1\0\0\340&lt;d\27\0\212\270\17\0\0\0\0\20\300 \304\2\0\0\0\0&rdquo;..., 4096) = 544 open(&rdquo;/usr/share/X11/XErrorDB&rdquo;, O_RDONLY) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=41481, ...}) = 0 brk(0x1dd1000)                          = 0x1dd1000 read(11, &ldquo;! $Xorg: XErrorDB,v 1.3 2000/08/&rdquo;..., 41481) = 41481 close(11)                               = 0 brk(0x1df2000)                          = 0x1df2000 write(2, &ldquo;The program &lsquo;wxformbuilder&rsquo; rece&rdquo;..., 575The program &lsquo;wxformbuilder&rsquo; r eceived an X Window System error. This probably reflects a bug in the program. The error was &lsquo;BadMatch (invalid parameter attributes)&rsquo;.
</p>
<pre class="code">(Details: serial 17417 error_code 8 request_code 151 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
 that is, you will receive the error a while after causing it.
 To debug your program, run it with the --sync command line
 option to change this behavior. You can then get a meaningful
 backtrace from your debugger if you break on the gdk_x_error() function.)</pre>

<p>
) = 575 exit_group(1)                           = ?
</p>

<p>
 No errors were found in the syslog or the Xorg.0.log.  Attached is the xorg.conf for this system.  It&rsquo;s a triple head setup using dual NVIDIA cards and so is using xinerama rather than Xrandr which remains incapable of true triplehead support.  All drivers were installed via standard kubuntu repositories.  All software on the system was installed from the standard and backports repos with the exception of the chromium browser from <a href="http://ppa.launchpad.net/chromium-daily/ppa/ubuntu" class="urlextern" title="http://ppa.launchpad.net/chromium-daily/ppa/ubuntu">http://ppa.launchpad.net/chromium-daily/ppa/ubuntu</a>.  At this point wxFormBuilder is unusable as it crashes immediately upon creating a new form.
</p>

<p>
Please use labels and text to provide additional information. 
</p>
      </div>
    </content>
    <author><name>justin</name></author>
    <id>http://issues.wxformbuilder.org/:451</id>
  </entry>
    <entry>
    <title>FS#448: same event name for different events does not compile using GCC 4.4</title>
    <link href="http://issues.wxformbuilder.org/index.php?do=details&amp;task_id=448" />    
    <updated>2009-12-04T08:46:14Z</updated>    
    <published>2009-12-04T08:46:14Z</published>
    <content type="xhtml" xml:lang="en" xml:base="http://diveintomark.org/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        
<p>
What steps will reproduce the problem? 1. Create two elements (gamma and gradient) in the same frame or panel, with different kind of events (example: a checkbox (commandEvent) and a spinctrl (spinEvent) ) 2. Since you want to update something when either of those values change you call the respective event the same: OnSpinCtrl &rarr; OnChange and OnCheckbox &rarr; OnChange 3. Create C++ Code and compile it using GCC 4.4 (standard compiler on Ubuntu)
</p>

<p>
What is the expected output? What do you see instead? Expected: Well it should work! Instead GCC 4.4 throws following error: error: invalid static_cast from type ‘&lt;unresolved overloaded function type&gt;’ to type ‘void (wxEvtHandler::*)(wxSpinEvent&amp;)’ or error: invalid static_cast from type ‘&lt;unresolved overloaded function type&gt;’ to type ‘void (wxEvtHandler::*)(wxCommandEvent&amp;)’
</p>

<p>
for following lines respectively:
</p>

<p>
gamma&rarr;Connect( wxEVT_COMMAND_SPINCTRL_UPDATED, wxSpinEventHandler( ImproveContoursSidebar_::OnChange ), NULL, this ); gradient&rarr;Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( ImproveContoursSidebar_::OnChange ), NULL, this );
</p>

<p>
Problem: The function OnChange is overloaded for either event. Passing the function pointer does not tell the compiler which one of the functions to use. The macros wxSpinEventHandler and wxCommandEventHandler would later cast those function pointers to ‘void (wxEvtHandler::*)(wxSpinEvent&amp;)’ and ‘void (wxEvtHandler::*)(wxCommandEvent&amp;)’ respectively.
</p>

<p>
Walkarounds: 1. Just rename the events so that there are not two types of events called the same (OnChange &rarr; OnChangeSpin, OnChangeCommand). You can still use the same event name for all the elements that actually use the same type of event. The problem is only occurring when the function is happened to be overloaded.
</p>

<p>
2. Save the function pointer in a variable first (because then you have to tell the variable what type of function pointer it is) and then pass it. Problem with this walkaround: You cannot use the macros wxSpinEventHandler and wxCommandEventHandler because they take the reference of the passed argument and to save the variable you have to save the reference of the function pointer already and so the macro will create a reference to the reference to the function which will result in another invalid static cast. 
</p>
      </div>
    </content>
    <author><name>Benjamin Knecht</name></author>
    <id>http://issues.wxformbuilder.org/:448</id>
  </entry>
  </feed>
