Search found 186 matches

by geralds
Tue Nov 15, 2005 3:16 pm
Forum: C++ Development
Topic: Document-view framework - 3 questions
Replies: 3
Views: 757

Thanks KA, I will try that. Re (1) I've checked and on Win2K at least the sample app doesn't allow multiple files to be opened at once. (It permits multiple files in sequence, but it isn't possible to hold down Shift or CTRL and select a number of files. What I'm after is the wxMULTIPLE option of th...
by geralds
Tue Nov 15, 2005 12:44 pm
Forum: C++ Development
Topic: Document-view framework - 3 questions
Replies: 3
Views: 757

Document-view framework - 3 questions

I have based my document-view interface on the sample program (basically throwing out the miniature drawing program and using a single view based on wxStyledTextControl), but some things don't seem to work as expected. 1. Is there any way of allowing multiple files to be opened when wxID_OPEN is sel...
by geralds
Wed Nov 02, 2005 9:19 am
Forum: C++ Development
Topic: Converting Unicode wxString to UTF-8
Replies: 8
Views: 1890

Thanks heda, eco and Ryan! eco's suggestion works perfectly. I only wish I'd known about wxWidgets a year ago! This removes the last GPL function from my program, so I can finally switch to LGPL...
by geralds
Tue Nov 01, 2005 2:08 pm
Forum: C++ Development
Topic: Converting Unicode wxString to UTF-8
Replies: 8
Views: 1890

Thanks!
by geralds
Tue Nov 01, 2005 1:50 pm
Forum: Platform Related Issues
Topic: [wxW Win 2.6.1 Unicode] Icon doesn't display correctly
Replies: 0
Views: 712

[wxW Win 2.6.1 Unicode] Icon doesn't display correctly

When using the MDI interface on Windows XP, the document icon to the left of the File menu (only visible when the document is maximised) does not display correctly. The transparency colour is not entirely transparent (slightly lighter than the XP menu bar colour) and the final row of pixels is repea...
by geralds
Tue Nov 01, 2005 1:41 pm
Forum: C++ Development
Topic: Converting Unicode wxString to UTF-8
Replies: 8
Views: 1890

Converting Unicode wxString to UTF-8

I'm using the Unicode build of wxW and I was delighted that wxW will convert Expat's UTF-8 text nodes to wxStrings as follows: // s is a std::string containing a UTF-8 string wxString node = wxString(s.c_str(), wxConvUTF8, s.size()); I can then set the text of my Scintilla component to the wxString....