Search found 7 matches

by ahz_
Sat Feb 26, 2005 8:42 pm
Forum: The Code Dump
Topic: wxTiXmlDocument: TinyXML + wxWidgets streams
Replies: 2
Views: 2737

wxTiXmlDocument: TinyXML + wxWidgets streams

The only problem I noticed so far is that SaveFile() does not format the XML nicely. wxtinyxml.cpp // This crude code is for using wxWidget streams with TinyXML. // This is useful, for example, for loading and saving XML directly // into a ZIP file (with the new ZIP streams in 2.5.4). // Copyright (...
by ahz_
Sat Feb 26, 2005 12:49 am
Forum: C++ Development
Topic: [FOUND] Portable method of rendering PDF files
Replies: 3
Views: 1562

Ghostscript renders PDFs in a variety of formats including standard image files (say, BMP, TIFF, PNG) and can draw on X windows.

I haven't looked at it, but it looks like someone has already tried to do this with wxWidgets: http://wxghostscript.sourceforge.net/
by ahz_
Sat Feb 26, 2005 12:46 am
Forum: C++ Development
Topic: basepath for wxHtmlWindow
Replies: 0
Views: 599

basepath for wxHtmlWindow

For images, how do I set the basepath for wxHtmlWindow->SetPage()?

For example:

Code: Select all

htmlwindow->SetPath("<img src=\"foo.png\">");
src begins looking at /path/to/files/ and finds /path/to/files/foo.png.


Thanks.
by ahz_
Sun Jan 23, 2005 7:06 pm
Forum: Compiler / Linking / IDE Related
Topic: cygwin: can't compile wxWidgets 2.5.3
Replies: 12
Views: 3791

4sure wrote:I just encountered the same problem...
Also using XP SP2, cygwin with gcc 3.3.3 and wxWindows 2.5.3
Did you manage to solve it?
I have not solved this problem.

I saw a post elsewhere where someone had the same problem,and there was no reply with any resolution.
by ahz_
Sun Jan 16, 2005 11:25 pm
Forum: Compiler / Linking / IDE Related
Topic: cygwin: can't compile wxWidgets 2.5.3
Replies: 12
Views: 3791

cygwin: can't compile wxWidgets 2.5.3

I can compile wxWindows 2.4.2 fine, but wxWidgets 2.5.3 gives me some errors. I tried updating cygwin, but had the same results: I am using Windows XP Home (with SP2). Via ./configure, I tried disabling network options such as protocol and HTTP. I understand the problem is multiple defintions. $ mak...
by ahz_
Sun Jan 16, 2005 3:09 pm
Forum: C++ Development
Topic: wxRadioBox: change number of wxRadioItems
Replies: 2
Views: 922

Re: wxRadioBox: change number of wxRadioItems

I don't think you can, actually. You'll have to destroy the control and create a new one with the additional elements either with the constructor, or with the Create member function. I tried it this way, and it turned out easier to Remove, delete, and Insert a new wxRadioBox than it would have been...
by ahz_
Sun Jan 16, 2005 1:38 am
Forum: C++ Development
Topic: wxRadioBox: change number of wxRadioItems
Replies: 2
Views: 922

wxRadioBox: change number of wxRadioItems

How do you change the number of wxRadioItems in wxRadioBox?