Search found 8 matches

by kestermckinney
Thu Jul 09, 2020 5:30 pm
Forum: C++ Development
Topic: wxXmlDocument not reading from wxInputStream
Replies: 5
Views: 604

Re: wxXmlDocument not reading from wxInputStream

I got it. I was filling up the stdio buffer. I had to read and write at the same time otherwise the buffer would get full. The sub process was receiving and sending at the same time. Here is what is working now: wxXmlDocument* exportdocument = ix.GetXMLDocument(view, fkfield, fkvals); wxProcess* pro...
by kestermckinney
Wed Jul 08, 2020 4:14 pm
Forum: C++ Development
Topic: wxXmlDocument not reading from wxInputStream
Replies: 5
Views: 604

Re: wxXmlDocument not reading from wxInputStream

I have determined that I am hitting a 65K limit somehow when I save to the output stream. if I save the wxXmlDocument to a file the file is 2 megabytes. The stdio is get cut at 65K.
by kestermckinney
Mon Jul 06, 2020 10:13 pm
Forum: C++ Development
Topic: wxXmlDocument not reading from wxInputStream
Replies: 5
Views: 604

Re: wxXmlDocument not reading from wxInputStream

Once complete the wxXmlDocument is empty. The root node is NULL.
by kestermckinney
Mon Jul 06, 2020 5:29 pm
Forum: C++ Development
Topic: wxXmlDocument not reading from wxInputStream
Replies: 5
Views: 604

wxXmlDocument not reading from wxInputStream

The commented code below will read from the input stream just fine, however the wxXMLDocument->Load won't read. Am I missing something? (Note: I don't run the commented code and the ->Load at the same time.) wxXmlDocument* exportdocument = ix.GetXMLDocument(view, fkfield, fkvals); wxProcess* process...
by kestermckinney
Wed Oct 09, 2019 9:17 pm
Forum: Platform Related Issues
Topic: Trying To Understand wxDataViewCustomRenderer on a Mac
Replies: 1
Views: 911

Trying To Understand wxDataViewCustomRenderer on a Mac

I would like to add a ComboBox instead of a Choice control to the wxDataView. However, I noticed even the dataview example doesn't work correctly on OS X. Debugging through the code CreateEditorCtrl and GetValueFromEditorCtrl do not get called. I can't find any good documentation on this but I see i...
by kestermckinney
Sun Sep 29, 2019 1:23 am
Forum: Platform Related Issues
Topic: Trouble Opening Files On MacOS
Replies: 4
Views: 1316

Re: Trouble Opening Files On MacOS

Ok, I figured it out. The dialog box must somehow override the Sandboxing features of MacOS. I went into the .entitlements file and set com.apple.security.files.user-selected.read-only to NO and set App Sandbox to NO. It works perfectly now.
by kestermckinney
Sat Sep 28, 2019 3:11 pm
Forum: Platform Related Issues
Topic: Trouble Opening Files On MacOS
Replies: 4
Views: 1316

Re: Trouble Opening Files On MacOS

Notice the code doesn't call GetPath(). I actually don't want to use the file dialog. The file dialog just does something to allow me to read files once I select it. It's very bizarre. The file name in the string dbname is correct.
by kestermckinney
Sat Sep 28, 2019 1:56 pm
Forum: Platform Related Issues
Topic: Trouble Opening Files On MacOS
Replies: 4
Views: 1316

Trouble Opening Files On MacOS

I have a strang problem with opening files. I thought at first it was unicode related, but after some research, I believe I've build wxWidgets 3.1.2 correctly and I believe my Xcode project is setup correctly. No matter where I put the code below, I get a file not readable or failure to open the fil...