Re: wxButton wxBU_NOTEXT sytle
Dietmar Schwertberger <[email protected]> Mon, 1 Jul 2019 19:12:28 +0200
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
On 01.07.2019 00:20, Brendan Simon (eTRIX) wrote: > It seems the wxBU_NOTEXT style doesn't seem to be reflected in the > Design or Preview windows. I have just tried the preview on Windows and there it's working. The preview code contains the BU_NOTEXT flag. I would guess that in both Design and Preview windows the bitmaps are not found. 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) With this modification the preview file will not be deleted and you can check what the generated code looks like. Please look whether the filenames for loading the bitmaps are correct. Regards, Dietmar _______________________________________________ wxGlade-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxglade-general