Re: wxGlade 0.7.1 RC1

Udi Fuchs <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <CABznK13t_5PLKOWHK=gho8W4X51LZsGW+aLWUd+r8+5WMKkqYg@mail.gmail.com>
The following patch fixes the CustomWidget issue:

--- a/widgets/custom_widget/custom_widget.py    Mon Aug 03 20:05:41 2015
+0200
+++ b/widgets/custom_widget/custom_widget.py    Fri Aug 07 22:53:36 2015
-0500
@@ -46,7 +46,7 @@
             return True
         elif name == 'argument':
             char_data = self.get_char_data()
-            self.arguments.append(char_data)
+            self.arguments.append([char_data])
         return False

 # end of class ArgumentsHandler


On Mon, Aug 3, 2015 at 2:36 PM, Udi Fuchs <[email protected]> wrote:

>
>   - Empty choices will be filled with a placeholder '<set by wxGlade>'
>>
>
> Why was this feature added? It breaks my existing code that assumes empty
> choices and generates the relevant choices in the code.
>
> I also noticed a bug with custom widget. The $id and $parent tags are not
> imported correctly. The attached example generates the line:
>
> self.window_1 = CustomWidget($, $)
>
>

------------------------------------------------------------------------------

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.