Search found 497 matches

by FlyingIsFun1217
Fri Aug 08, 2008 12:30 am
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1818

Alright, please don't laugh at me. I've never done much with class inheritance, so I'm sure (and know that) it's riddled with errors, but I imagine you will be able to understand what I'm trying to do: class KeyCatchCtrl : public wxWindow { public: KeyCatchCtrl(wxWindow *parent, wxPoint *position, w...
by FlyingIsFun1217
Thu Aug 07, 2008 12:09 pm
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1818

mc2r wrote:
doublemax wrote:however, sizers were made for that kind of task. No need to reinvent the wheel...
Very true, forgot to add that note.
Yes, I know that sizers are the easy way of going about this.

FlyingIsFun1217
by FlyingIsFun1217
Thu Aug 07, 2008 12:46 am
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1818

Exactly what I was looking for!

Thanks! ;)
FlyingIsFun1217
by FlyingIsFun1217
Thu Aug 07, 2008 12:39 am
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Well, I guess it would have been easy enough to just call the function from another one right in the class; seems this does the trick just fine...

So simple... why can't I ever think of the simple things right away?

FlyingIsFun1217
by FlyingIsFun1217
Thu Aug 07, 2008 12:34 am
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1818

Getting Component Sizes/Locations?

Hey! I'm trying to make a custom component that can have a set width/height. Problem is, in it, there are a couple of widgets that should be laid out side-by-side, next to each other. For me to be able to do this, I would like to get the size of one component, subtract that from the size of the tota...
by FlyingIsFun1217
Wed Aug 06, 2008 9:09 pm
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Alright, problem figured out, almost solved... Seems in my main frame I was connecting the events that should have brought up the dialog to classes and functions that don't exist: frame -> Connect(ID_Library_Menu, wxEVT_COMMAND_MENU_SELECTED, (wxObjectEventFunction) &libDialog::libDialog); libDialog...
by FlyingIsFun1217
Wed Aug 06, 2008 7:33 pm
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Are you sure it is StartClicked()? Have you tried commenting out the code in there and adding a message box like i suggested? A button shouldn't receive a clicked event when the dialog it is in is initialized. Seems you're right. Commenting it out to do nothing gives the same output; a frozen progr...
by FlyingIsFun1217
Wed Aug 06, 2008 2:24 pm
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Anybody? Bump...

FlyingIsFun1217 :)
by FlyingIsFun1217
Tue Aug 05, 2008 5:14 pm
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

And for a REALLY fun twist, when I booted up into Linux and tried it under WINE, there was absolutely no problem. I'm really curious if it's just some little thing to do with the way Windows works now.

FlyingIsFun1217
by FlyingIsFun1217
Tue Aug 05, 2008 3:04 pm
Forum: General Development
Topic: wx Licensing Component
Replies: 5
Views: 874

I think this would be a wonderful addition for people needing such features! I imagine that tying together the software and hardware like that would not be an easy thing to do while keeping it cross-platform, but if you were able to do it, I think everyone here would consider you a wxGod. FlyingIsFu...
by FlyingIsFun1217
Tue Aug 05, 2008 2:59 pm
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Alright; Thanks again for your help! I really do appreciate it!

FlyingIsFun1217
by FlyingIsFun1217
Tue Aug 05, 2008 3:37 am
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Nope, I want the button actions as they are (cancel stops, doesn't close unless not run when clicked, etc.). The snipped stuff is mostly gui code and what not that would only clutter it. I kept everything in there that could have made it crash (hence me saying, it was only after adding what I posted...
by FlyingIsFun1217
Tue Aug 05, 2008 2:29 am
Forum: Compiler / Linking / IDE Related
Topic: building a wxWidgets app using Xcode on Mac OSX
Replies: 4
Views: 559

Maybe a different processor architecture? I think I remember seeing something in the configure options that lets you build for both types, so maybe they are different types and it wasn't built to support both?

I wouldn't be the one to know, I don't use Macs.

FlyingIsFun1217
by FlyingIsFun1217
Tue Aug 05, 2008 2:19 am
Forum: C++ Development
Topic: Program freezes... why?
Replies: 11
Views: 1073

Program freezes... why?

class libDialog : public wxDialog { public: libDialog(const wxString &title); void CancelClicked(wxCloseEvent& event); void StartClicked(wxCommandEvent& event); bool CreateLibrary(); private: int newSongs; bool isScanning; wxString rootDirectory; protected: wxDirPickerCtrl *currentDirectoryPicker; ...
by FlyingIsFun1217
Tue Aug 05, 2008 1:31 am
Forum: Platform Related Issues
Topic: wxTaskbarIcon and settings dialog
Replies: 9
Views: 1208

Yeah, doesn't seem that bad. And if you figure most new computers sold anymore come with at LEAST 2 GB, that's still only a 20th of a percentage of the physical RAM.

FlyingIsFun1217