Re: Bitmap button default

Dietmar Schwertberger <[email protected]> Mon, 15 Jul 2019 19:47:04 +0200
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
On 15.07.2019 05:37, Brendan Simon (eTRIX) wrote:

> Anyway, all the buttons do not have the focus checkbox ticked, and a 
> read-only text control does have the focus checkbox ticked.  The app 
> reflects this when compiled and run, but not the Preview window.

Please check the version from the master branch. The code generation is 
different.
Previously, all elements were created, then properties set. Now 
properties are set right after creation of each item.
That might have a small influence.


Also, please check whether the preview code is OK:

Please have a look at application.Application.preview and comment out
the unlink code:

              # remove the temporary file
              if not config.debugging:
                  name = os.path.join(preview_path,
preview_module_name+".py")
                  if os.path.isfile(name): os.unlink(name)


Please keep in mind that different versions of wx may behave differently
and that wxPython and C++ may use different versions.

If the problem is confirmed, please post an example file.
I have only checked on Windows where everything is as expected.


Regards,

Dietmar


_______________________________________________
wxGlade-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxglade-general