Search found 84 matches

by eriX
Sat Oct 01, 2011 3:45 pm
Forum: C++ Development
Topic: UTF8 text downloaded by wxHTTP is displayed wrong
Replies: 11
Views: 3684

Re: UTF8 text downloaded by wxHTTP is displayed wrong

I've tested it directly before I go on with programming, but the result is poor. Same Problem as before... http://img835.imageshack.us/img835/3089/unbenanntgkb.png This wrong char encoding should not be with UTF-8. if (get.GetError() == wxPROTO_NOERR) { if(httpStream!=NULL) { wxTextInputStream tis(*...
by eriX
Fri Sep 30, 2011 7:49 pm
Forum: C++ Development
Topic: UTF8 text downloaded by wxHTTP is displayed wrong
Replies: 11
Views: 3684

Re: UTF8 text downloaded by wxHTTP is displayed wrong

Oops... you're right ;) Here's the code which is important. Maybe it is wxString/TextInputStream that causes this problem? wxHTTP get; get.SetHeader(_T("Content-type"), _T("text/html; charset=utf-8")); get.SetTimeout(10); for(int i=0; i<10; i++) { if(!get.Connect(wxT("www.my...
by eriX
Fri Sep 30, 2011 7:12 pm
Forum: C++ Development
Topic: UTF8 text downloaded by wxHTTP is displayed wrong
Replies: 11
Views: 3684

UTF8 text downloaded by wxHTTP is displayed wrong

Hello, I establish a connection via wxHTTP to my server. The program shall download some text... My PHP-Code and Server-Output is configured to UTF-8 and the text is displayed correct in all browsers. The text includes some letters like Ä,Ö,Ü,ä,ö,ü,ß,é... wich are displayed correct in my browser as ...
by eriX
Mon Aug 29, 2011 6:26 pm
Forum: wxDev-C++
Topic: How to update WxWidgets in WxDev-C++?
Replies: 7
Views: 8204

Re: How to update WxWidgets in WxDev-C++?

I understood ;)

I've read these readme's and description... but thats to hard for me.
No chance... I'm actually not able to do this procedure...

Isn't there anyway a ready .devpack file for the latest version of wxwidgets?
I searched some time online, but I didn't found anything.
by eriX
Fri Aug 12, 2011 9:40 am
Forum: C++ Development
Topic: WxCheckListBox trouble with GetSelections()
Replies: 4
Views: 1485

Re: WxCheckListBox trouble with GetSelections()

All right. Thank you very much.

I think I'll get it ;)
by eriX
Fri Aug 12, 2011 9:35 am
Forum: C++ Development
Topic: WxCheckListBox trouble with GetSelections()
Replies: 4
Views: 1485

Re: WxCheckListBox trouble with GetSelections()

Then I will do it with a loop.

Is there any function which returns me the number, how much items are in the wxCheckListBox?
by eriX
Fri Aug 12, 2011 8:58 am
Forum: C++ Development
Topic: WxCheckListBox trouble with GetSelections()
Replies: 4
Views: 1485

WxCheckListBox trouble with GetSelections()

Hello everybody, I'm using a WxCheckListBox to get the selections, a user made. wxArrayInt selections; int count_sel = kurszeitencheck->GetSelections(selections); Problem 1: count_sel is "0" everytime, doesn't matter how much checkboxes I tick. Problem 2: I want to access the wxArrayInt 's...
by eriX
Mon Aug 01, 2011 10:56 am
Forum: wxDev-C++
Topic: How to update WxWidgets in WxDev-C++?
Replies: 7
Views: 8204

How to update WxWidgets in WxDev-C++?

I need some new functions in my program, which are released with WxWidgets 2.9.2 first. Could you give me please a short instruction how to update WxWidgets in WxDev-C++? I've tried to replace the include/wx folder with the newer one from here , but this wont work - only errors and warnings in the W...
by eriX
Thu Jul 21, 2011 9:34 am
Forum: wxDev-C++
Topic: Program doesn't work with Win XP
Replies: 4
Views: 4450

Re: Program doesn't work with Win XP

Ok. I got it! It was caused by the following (manual added) code in the Event Table: EVT_TEXT(ID_WXEDIT1,LAVO_TrainerFrm::WxButton14Click) This should call the function, if the user types text in the EditBox (in the last WxNotepadPage) It worked fine on Win7 but caused the access violation under XP....
by eriX
Thu Jul 21, 2011 9:23 am
Forum: wxDev-C++
Topic: Program doesn't work with Win XP
Replies: 4
Views: 4450

Re: Program doesn't work with Win XP

the msw.dll is not important, it is only a plain text file, where the user shouldn't look in. The Debugger in wxDevC++ says: "An Access Violation (Segmentation Fault) has been raised in your program." Yes No Abort If I click on Yes, the file string.h becomes opened and the line *this= s; i...
by eriX
Wed Jul 20, 2011 7:21 pm
Forum: wxDev-C++
Topic: Program doesn't work with Win XP
Replies: 4
Views: 4450

Program doesn't work with Win XP

I have finished my program a few days ago and was testing it today with different machines. My program worked fine in beta (7 days ago) but now with the final version, the program does not start with XP. The program works with Win 7 and Vista but does not start in XP. The program terminated unexpect...
by eriX
Fri Jul 15, 2011 10:06 am
Forum: wxDev-C++
Topic: WxComboBox OnTextEnter doesn't work
Replies: 7
Views: 4500

Re: WxComboBox OnTextEnter doesn't work

I couln't update WxWidgets sucessfully yet.
Is there any tutorial for updating the WxWidgets in wxDev-C++ ?
by eriX
Thu Jul 14, 2011 12:18 pm
Forum: wxDev-C++
Topic: WxComboBox OnTextEnter doesn't work
Replies: 7
Views: 4500

Re: WxComboBox OnTextEnter doesn't work

Ok, here is my code of the function, that is called when the user writes into the ComboBox: I solved the problem that the text disappeared, if you type in sth. Not the best way, but it works: WxComboBox1 = new wxComboBox(WxPanel1, ID_WXCOMBOBOX1, wxT(""), wxPoint(55, 200), wxSize(585, 23),...
by eriX
Thu Jul 14, 2011 10:54 am
Forum: wxDev-C++
Topic: WxComboBox OnTextEnter doesn't work
Replies: 7
Views: 4500

Re: WxComboBox OnTextEnter doesn't work

Thank you. Now the funktion is called, when the user type some text in. ////Event Table Start BEGIN_EVENT_TABLE(anmeldung_erfassenFrm,wxFrame) ////Manual Code Start EVT_TEXT(ID_WXCOMBOBOX1,anmeldung_erfassenFrm::WxComboBox1TextEnter0) ////Manual Code End But the text, I typed in, disappeares. Must I...
by eriX
Thu Jul 14, 2011 9:50 am
Forum: wxDev-C++
Topic: WxComboBox OnTextEnter doesn't work
Replies: 7
Views: 4500

Re: WxComboBox OnTextEnter doesn't work

I added your code here: ////Event Table Start BEGIN_EVENT_TABLE(anmeldung_erfassenFrm,wxFrame) ////Manual Code Start wxEVT_COMMAND_TEXT_UPDATED(ID_WXCOMBOBOX1,anmeldung_erfassenFrm::WxComboBox1TextEnter0) ////Manual Code End EVT_CLOSE(anmeldung_erfassenFrm::OnClose) But the compiler says: 44 X:\Kurs...