Search found 32 matches

by dominover
Thu Feb 07, 2013 8:21 am
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets problem?
Replies: 1
Views: 1051

Building wxWidgets problem?

I've build wxWidgets several times now but I've run into a strange problem. Usually I try to build a Debug and Release version. I'm using CodeBlocks with a MinGW compiler (C++). I first build the debug version and when I went to build the release version I got the below error. Again, I deleted every...
by dominover
Sat Jan 26, 2013 10:09 pm
Forum: C++ Development
Topic: wxHtmlWindow - Printing?
Replies: 11
Views: 8787

Re: wxHtmlWindow - Printing?

Well thanks tierra, do you have another solution?
by dominover
Fri Jan 25, 2013 7:36 am
Forum: C++ Development
Topic: wxHtmlWindow - Printing?
Replies: 11
Views: 8787

Re: wxHtmlWindow - Printing?

Right, thanks.
It'll take time but I'm sure I'll figure something out eventually.
by dominover
Thu Jan 24, 2013 11:06 pm
Forum: C++ Development
Topic: wxHtmlWindow - Printing?
Replies: 11
Views: 8787

Re: wxHtmlWindow - Printing?

I'm using the html window in a different way to normal. Lets's forget the world html It's a white page to me. I've mounted some widgets to it and will be having those widgets display data in a report. So I basically have an html page in a GUI which contains some numbers and words. No html at all. I'...
by dominover
Thu Jan 24, 2013 1:16 pm
Forum: C++ Development
Topic: wxHtmlWindow - Printing?
Replies: 11
Views: 8787

Re: wxHtmlWindow - Printing?

but what if I don't have html code? I'm trying to print the htmlwindow widget out with all it's contents?

I suppose I should be asking, how do you print a wxWidget?
by dominover
Thu Jan 24, 2013 11:25 am
Forum: C++ Development
Topic: wxHtmlWindow - Printing?
Replies: 11
Views: 8787

wxHtmlWindow - Printing?

I'm having trouble figuring out how to print a wxHtmlWindow called HtmlWindow1 in my application. I've tried treating it like a file by creating an instance of wxHtmlEasyPrinting class and then accessing the PrintFile method with no success. I just can't figure out how to print the Html widget in wx...
by dominover
Tue Jan 22, 2013 10:25 am
Forum: C++ Development
Topic: wxtextCtrl - Width (adjusting in code)
Replies: 7
Views: 4254

Re: wxtextCtrl - Width (adjusting in code)

Disregard my last post. It works exceptionally well. Thanks for the help.
by dominover
Tue Jan 22, 2013 10:05 am
Forum: C++ Development
Topic: wxtextCtrl - Width (adjusting in code)
Replies: 7
Views: 4254

Re: wxtextCtrl - Width (adjusting in code)

Thanks very much, that's a really good explanation.

I'm assuming this means that I can place wxTextCtrl2->SetSize() in my code and it will work like SetSize is wxTexCtrl2's method?

Thanks
by dominover
Tue Jan 22, 2013 6:32 am
Forum: C++ Development
Topic: wxtextCtrl - Width (adjusting in code)
Replies: 7
Views: 4254

Re: wxtextCtrl - Width (adjusting in code)

Thanks for that but I'm still very confused. I have the wxWidgets book and the website but I can't seem to make sense of wxWindow. I want to change the width of wxTextCtrl1 but not sure how that relates to wxWindow. I'm going to guess what this means. Do I use wxWindow::SetSize('and in here use the ...
by dominover
Mon Jan 21, 2013 11:17 am
Forum: C++ Development
Topic: wxGauge - Changing Colour?
Replies: 2
Views: 1382

Re: wxGauge - Changing Colour?

It looks like that's what I'll do. Green it is for now.

Thanks
by dominover
Mon Jan 21, 2013 8:50 am
Forum: C++ Development
Topic: wxtextCtrl - Width (adjusting in code)
Replies: 7
Views: 4254

Re: wxtextCtrl - Width (adjusting in code)

I actually meant the size of the widget. For example.. Lets say the widget (text control for example) is 100 wide. That is the physical length of the widget in the form is 100 wide as it appears. How do I make an empty widget (lets say a text control) wider. Not character length or the length it can...
by dominover
Mon Jan 21, 2013 6:06 am
Forum: C++ Development
Topic: wxtextCtrl - Width (adjusting in code)
Replies: 7
Views: 4254

wxtextCtrl - Width (adjusting in code)

Would anyone know how to adjust the width of a wxtextCtrl in c++ code? I'm referring to the length of the actual widget.

Thanks
by dominover
Mon Jan 21, 2013 2:49 am
Forum: C++ Development
Topic: wxGauge - Changing Colour?
Replies: 2
Views: 1382

wxGauge - Changing Colour?

Heyall

Would anyone know if there is a a recent work-around to change the color of wxGauge?
It currently only gives me green. By changing the foreground and background color doesn't do anything in the properties.

I'm running Windows XP, SP3.
wxWidgets 2.8.12.

thanks
by dominover
Mon Dec 03, 2012 5:03 pm
Forum: Compiler / Linking / IDE Related
Topic: Suddenly getting errors when compiling wxWidget Project?
Replies: 3
Views: 4232

Re: Suddenly getting errors when compiling wxWidget Project?

OK everybody.. I hope you all didn't sit up too late trying to solve this for me. I have a solution. I at some stage tampered with the compiler settings and ticked an extra field which caused these errors. I just cleared them all and ticked the first option 'produce debugging symbols -g' and it work...
by dominover
Mon Dec 03, 2012 1:35 pm
Forum: Compiler / Linking / IDE Related
Topic: Suddenly getting errors when compiling wxWidget Project?
Replies: 3
Views: 4232

Suddenly getting errors when compiling wxWidget Project?

I'm not sure what has caused this.. Thought someone might recognize the problem. I have been successfully compiling wxWidgets projects for a couple of months now but suddenly I'm getting a heap of errors when compiling. Build Log below Don't know what I could have done. Anybody recognize this proble...