Search found 497 matches
- Fri Aug 08, 2008 12:30 am
- Forum: C++ Development
- Topic: Getting Component Sizes/Locations?
- Replies: 18
- Views: 2593
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...
- Thu Aug 07, 2008 12:09 pm
- Forum: C++ Development
- Topic: Getting Component Sizes/Locations?
- Replies: 18
- Views: 2593
- Thu Aug 07, 2008 12:46 am
- Forum: C++ Development
- Topic: Getting Component Sizes/Locations?
- Replies: 18
- Views: 2593
- Thu Aug 07, 2008 12:39 am
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
- Thu Aug 07, 2008 12:34 am
- Forum: C++ Development
- Topic: Getting Component Sizes/Locations?
- Replies: 18
- Views: 2593
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...
- Wed Aug 06, 2008 9:09 pm
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
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...
- Wed Aug 06, 2008 7:33 pm
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
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...
- Wed Aug 06, 2008 2:24 pm
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
- Tue Aug 05, 2008 5:14 pm
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
- Tue Aug 05, 2008 3:04 pm
- Forum: General Development
- Topic: wx Licensing Component
- Replies: 5
- Views: 1179
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...
- Tue Aug 05, 2008 2:59 pm
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
- Tue Aug 05, 2008 3:37 am
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
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...
- 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: 767
- Tue Aug 05, 2008 2:19 am
- Forum: C++ Development
- Topic: Program freezes... why?
- Replies: 11
- Views: 1505
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; ...
- Tue Aug 05, 2008 1:31 am
- Forum: Platform Related Issues
- Topic: wxTaskbarIcon and settings dialog
- Replies: 9
- Views: 1568