Try opening the text-file in binary-mode when you go to read from it;
as I recall, on Windows, the text-widgets expect "\r\n" as newlines,
and display single newline-characters as black boxes.
It's been years since I worked with Windows, though, so I could be wrong.
···
On Sat, Sep 06, 2003 at 08:19:19PM -0700, Eric Earnst wrote:
Hi,
Windows 2000
Python 2.3
wxPython 2.4
Boa 0.2.3Did the Boa tutorial which creates a very basic text editor. It uses a
wxTextCtrl with wxTE_MULTILINE. My problem is that when I open a text
file, even one created in the text control, it displays as a series of
small black boxes with no text. Why the boxes?
--
If you are confused by any of this, go read the company's standard non-discolsure agreement. It won't help you understand what we're talking about here, but at least it will make our prose seem limpid.