I just thought I would say hello. I have downloaded Dev-C++, wxWindows and some "making windows programs" tutorials because I want to know how to make windows programs. I've learn OOP techniques at Uni (going to do Java this term) so hopefully I can understand some of this stuff.
Just thought I would warn you that I will probably be back asking questions about wxWindows and Dev-C++ and using the two together. I know how to design the windows dialogs for my program with wxW but this is about where i am in the tutorials.
See yas.
2. Re: Hello, starting out with this.
#2370
Posted by: 2003-07-07 18:32:40
The "hard part" about wx is (imho) the event handling stuff. And some good advice: Don't use "delete" too much! Let wx do the work for you. Otherwise you'll end up with a lot of nice little segfaults and stuff. I myself had to learn this the hard way...
upcase
3. Re: Hello, starting out with this.
#2376
Posted by: 2003-07-07 23:55:50
upcase wrote:
> The "hard part" about wx is (imho) the event handling stuff. > And some good advice: Don't use "delete" too much! Let wx do > the work for you. Otherwise you'll end up with a lot of nice > little segfaults and stuff. I myself had to learn this the hard > way...
The way I understand it, you shouldn't use delete at all for any wxWindow objects. It will delete itself either when the application closes or else the scope goes away for the object. If you need to delete a window, then you call the Delete() method so that it will delete it when the API is ready for it to go -- usually during ONIDLE.