Search found 497 matches

by FlyingIsFun1217
Fri Nov 20, 2015 12:43 am
Forum: Component Writing
Topic: Changing wxGrid Grid Lines
Replies: 2
Views: 3218

Re: Changing wxGrid Grid Lines

Indeed, I was looking at the class inheritance in the wrong way.

And yes, somehow I forget to add in the 'row' parameter to the overridden function.

Thanks!
by FlyingIsFun1217
Wed Nov 18, 2015 7:31 pm
Forum: Component Writing
Topic: Changing wxGrid Grid Lines
Replies: 2
Views: 3218

Changing wxGrid Grid Lines

Greetings, Recently I've been getting back into C++, as well as wxWidgets. I'm currently trying to write a variation on the wxGrid component, in particular attempting to change the way it draws the divider lines through the cells. I noticed in the documentation that it was mentioned to override &quo...
by FlyingIsFun1217
Sat Feb 18, 2012 2:17 am
Forum: C++ Development
Topic: How to clear last wxListBox result?
Replies: 2
Views: 2277

Re: How to clear last wxListBox result?

This is what I have now (and had before for that matter): for(int i = 0; i <= (SymbolListStrings.GetCount() - 1); i++) { std::cout << i << std::endl; if(SymbolList -> IsSelected(i)) { SymbolListStrings.RemoveAt(i, 1); SymbolList -> Set(SymbolListStrings); break; } } I simply cannot see how this woul...
by FlyingIsFun1217
Sat Feb 18, 2012 1:13 am
Forum: C++ Development
Topic: How to clear last wxListBox result?
Replies: 2
Views: 2277

How to clear last wxListBox result?

Hello again, full of questions tonight: I have a wxListBox, of which I am allowing the user to delete items through a button. When I do deletion, I check which array item is selected, remove that result, and everything is fine... up until the user attempts to delete the last result. Since I'm essent...
by FlyingIsFun1217
Sat Feb 18, 2012 12:14 am
Forum: C++ Development
Topic: How to send output?
Replies: 2
Views: 1582

Re: How to send output?

Thanks, I was missing the endl before, which was ultimately the problem.

FlyingIsFun1217
by FlyingIsFun1217
Fri Feb 17, 2012 10:49 pm
Forum: C++ Development
Topic: How to send output?
Replies: 2
Views: 1582

How to send output?

Hey, I'm attempting to have output from my program to to the terminal. First I tried with cout, but that seems to only send the output once the program closes. I've been messing around with wxMessageOutput, but my program segfaults when the functon containing Printf(wxT("")) is called. Is ...
by FlyingIsFun1217
Thu Feb 16, 2012 1:19 pm
Forum: C++ Development
Topic: Can't Do a Dialog?
Replies: 2
Views: 2551

Re: Can't Do a Dialog?

you could include AddDialog.h in file AddDialog.cpp and compile AddDialog.cpp separately. That did the trick. I was being a bit naive to the process because prior to this, I had always compiled in an IDE, which took care of adding sources to a makefile, and now I'm doing it by hand. Thanks! FlyingI...
by FlyingIsFun1217
Thu Feb 16, 2012 4:18 am
Forum: C++ Development
Topic: Can't Do a Dialog?
Replies: 2
Views: 2551

Can't Do a Dialog?

Hey, I'm back at it after a long break from wxWidgets. Anyway, I've got files set up to compile, the idea being that upon clicking a button on the main frame of my app, a dialog opens. Problem is, I keep getting errors, and cannot seem to set it up to correcly compile. Here are the files: //main.h c...
by FlyingIsFun1217
Wed Nov 23, 2011 4:45 pm
Forum: C++ Development
Topic: SegFault on GetInputStream
Replies: 2
Views: 1944

Re: SegFault on GetInputStream

Yep, that did the trick, thanks!

Also, I had pinpointed it down to that one line by commenting everything else out in the wxGETRequest function.

FlyingIsFun1217
by FlyingIsFun1217
Wed Nov 23, 2011 5:02 am
Forum: C++ Development
Topic: SegFault on GetInputStream
Replies: 2
Views: 1944

SegFault on GetInputStream

Greetings, After many years of inactivity, I've decided to try my hand at programming again. To the point: I've been working on a simple HTTP GET request to youtube, attempting to get an XML document through their fairly simple API. When I go to use wxHTTP::GetInputStream though, I get (with certain...
by FlyingIsFun1217
Fri Oct 02, 2009 12:27 am
Forum: Compiler / Linking / IDE Related
Topic: Static Build Usage in Code::Blocks
Replies: 0
Views: 1243

Static Build Usage in Code::Blocks

I've normally had no problem getting Code::Blocks working with my wxWidgets builds, having done them with gcc and msys. But I'm getting some interesting errors trying to compile a sample application after setting up my include and lib directories for the project. ||=== wxWidgets, Release ===| C:\wxW...
by FlyingIsFun1217
Thu Aug 21, 2008 9:36 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling under windows
Replies: 5
Views: 2127

AUser wrote:(non-MS) systems.
And how are you compiling on those other platforms? Through the terminal, perhaps using ./configure and make && make install?

FlyingIsFun1217
by FlyingIsFun1217
Thu Aug 21, 2008 4:44 pm
Forum: C++ Development
Topic: Recursive Directory Scan
Replies: 2
Views: 1620

Thanks, I'll start looking into those!

FlyingIsFun1217
by FlyingIsFun1217
Thu Aug 21, 2008 1:48 am
Forum: C++ Development
Topic: Recursive Directory Scan
Replies: 2
Views: 1620

Recursive Directory Scan

Hey! For my newest app, I need to recursively scan a directory for files of a certain type (determined by the file extension). Thing is, what I want to do, is to scan through a main directory, find the contents, if any of them are directories, scan those too, and keep going until all of the director...
by FlyingIsFun1217
Thu Aug 21, 2008 1:43 am
Forum: General Development
Topic: wxDataViewModel and companion classes ?
Replies: 6
Views: 2918

If there aren't any samples that came in the distribution's 'samples' folder, just use the docs... They are quite thorough in my experience.

FlyingIsFun1217