Search found 134 matches

by ouch67
Tue Jan 20, 2009 9:02 pm
Forum: C++ Development
Topic: functions missing in wx libraries? wxImage::HasAlpha?
Replies: 4
Views: 657

yep, for sure that's the problem. You need the unicode version of the libraries.

that "u" tacked on to the library names is easy to miss, I've done the same thing myself... ;)
by ouch67
Tue Jan 20, 2009 8:53 pm
Forum: C++ Development
Topic: need help in c++/wxwidgets project
Replies: 21
Views: 2510

Could you be a little more descriptive of what you would like to do? What compiler are trying to use with wxwidgets. And what compiler does your current app use? What IDE are you using? If you want to use something like "fopen" or "fseek" in wxwidgets then just call it and use it like you would norm...
by ouch67
Tue Jan 20, 2009 7:29 pm
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2194

Sorry for not getting back to you I've been busy... anyway, I tried the demo and it looks like the slider doesn't auto update when the min-max values are changed like it does in windows. And this crashes my app because the slider position is critical. To test, start up the demo, go to the slider tab...
by ouch67
Sun Jan 18, 2009 2:55 am
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2194

ok folks, I can't even force "setvalue" a slider. Nothing seems to happen if I manually set the range either.

So sliders are completely broken in linux then?

Can anyone else confirm this?
by ouch67
Fri Jan 16, 2009 5:46 am
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2194

sliders ignore min value in linux?

in windows when you set the minimum value when created the slider defaults to whatever that minimum value is.

in linux (ubuntu) it appears to be ignored and is always set to 0.

running 2.8 of wxwidgets.
by ouch67
Fri Jan 16, 2009 12:03 am
Forum: C++ Development
Topic: wxstrings, and unicode, and utf8...
Replies: 4
Views: 798

yep, that works thanks!
by ouch67
Thu Jan 15, 2009 2:11 am
Forum: C++ Development
Topic: wxstrings, and unicode, and utf8...
Replies: 4
Views: 798

well it says:

Code: Select all

warning: cannot pass objects of non-POD type ‘const class wxCharBuffer’ through ‘...’; call will abort at runtime
App crashes when that sprintf line is run... So that's not the solution either it seems... ;)
by ouch67
Wed Jan 14, 2009 2:30 pm
Forum: C++ Development
Topic: wxstrings, and unicode, and utf8...
Replies: 4
Views: 798

wxstrings, and unicode, and utf8...

So here's the problem, I'm trying to convert a unicode wxstring to your standard utf8 ascii. I need to do this in order to form an SQL command in order to write to an sqlite database. I've converted my code into unicode recently and it's my first program with it so bare with me. heres the 2 offendin...
by ouch67
Mon Jul 28, 2008 8:56 pm
Forum: C++ Development
Topic: wxFFile
Replies: 4
Views: 789

well as far as I know just write a 0 at offset 1,000. the function will fill in the rest with 0's. I also don't think it locks the file when opened, only when writeing to it. So multiple threads should be able to access it. a sample: wxFFile output; int nothing = 0; output.Open("output.txt","w+b"); ...
by ouch67
Mon Jul 28, 2008 5:28 pm
Forum: C++ Development
Topic: converting large ascii-hex strings for file writeing?
Replies: 3
Views: 654

so wxWidgets doesn't have a way to convert large ascii strings to hex strings?

that seems odd.
by ouch67
Mon Jul 28, 2008 6:45 am
Forum: C++ Development
Topic: converting large ascii-hex strings for file writeing?
Replies: 3
Views: 654

converting large ascii-hex strings for file writeing?

Yes say I have a text box where someone can write in a large hex string consisting of say 100 byte pairs. I have that string returned as an wxString and would like to write the values to a file opened with wxFFile. Now before you flame me too bad I do know about ToLong and ToLongLong. But their name...
by ouch67
Thu Jul 10, 2008 9:05 pm
Forum: wxDev-C++
Topic: can mingw do bitwise operations?
Replies: 3
Views: 843

sure does.

didn't see that, thanks!
by ouch67
Thu Jul 10, 2008 8:43 pm
Forum: wxDev-C++
Topic: can mingw do bitwise operations?
Replies: 3
Views: 843

can mingw do bitwise operations?

I have this code: if(type & tradeable > 0) { CheckBox3->SetValue(true); } else { CheckBox3->SetValue(false); } both vars are int. when type equals 1 and tradeable equals 2 why the freak does the if statement flag the result to be higher than 0? on my calculator 1 and 2 equals 0...
by ouch67
Sat Jun 28, 2008 6:31 pm
Forum: wxCode
Topic: wxsqlite3 saveing and exporting comma delimited files?
Replies: 3
Views: 928

That's neat, but how would you import those back in to a data base?

I wanted to export some data to merge into another database. Maybe I'm going about this the wrong way. Maybe I should just create a new DB and copy values over to it?

which way is best?

thanks for the reply though.
by ouch67
Thu Jun 26, 2008 7:58 pm
Forum: wxCode
Topic: wxsqlite3 saveing and exporting comma delimited files?
Replies: 3
Views: 928

wxsqlite3 saveing and exporting comma delimited files?

I know you can do this from the command line tool given with sqlite. but I want my program to have the ability to do this. So is there a special command or maybe some undocumented SQL command to do this? thanks. BTW, I really enjoy wxsqlite3, it really makes working with sqlite that much easier than...