IDE tutorials for wxWidgets

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

IDE tutorials for wxWidgets

Post by NinjaNL » Tue Jan 18, 2005 2:19 pm

Following Jorg's advice I am starting this thread.

Should anybody know of a tutorial for using any IDE please add it to this thread.

Currently I have written a simple beginners tutorial Beginning with wx-DevCpp which outlines using wx-DevCpp to create a simple minimal sample with toolbar and common dialogs.

Thanks to upCASE for hosting it, feel free to check it out and give me your feedback.

Should anyone require any further explanation feel free to contact me.

Should anyone know of or make other tutorials, feel free to add their location to this thread.

Best
Mal
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/

yawot
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Feb 07, 2005 11:38 am

Post by yawot » Mon Feb 07, 2005 12:55 pm

Thanks NinjaNL, I found the tutorial very helpful.
I couldn't believe there were no wxWidget project examples shipped with the Dev-C++ install, but your tutorial was a great starting point for what I needed.

I have expereienced a few problems with the IDE on WinXP Pro - 50% of the time the sample application crashes unless I run it in debug mode - when iin debug mode it run's fine and exits cleanly....

I realise this IDE is BETA software and so may contain some bugs, but other tutorial followers may experience this problem and think it's your code ;o)

batfinks
In need of some credit
In need of some credit
Posts: 5
Joined: Mon Feb 07, 2005 10:28 pm

Post by batfinks » Mon Feb 07, 2005 10:32 pm

:roll: NinjaNL,
The version of wx-DevCpp I have doesn't have the menu items for statusbar or for Menubar. I notice that your tutorial shows graphical buttons as well, the version I installed (it says it is 6.4) doesn't have any of those choices in it. Did I download something wrong, or are you working with an earlier version?

NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

Post by NinjaNL » Tue Feb 08, 2005 8:42 am

batfinks wrote::roll: NinjaNL,
The version of wx-DevCpp I have doesn't have the menu items for statusbar or for Menubar. I notice that your tutorial shows graphical buttons as well, the version I installed (it says it is 6.4) doesn't have any of those choices in it. Did I download something wrong, or are you working with an earlier version?
Are you sure you are in the form editor? You will only see the components in the form editor (select the newProgramFrame.wxform tab or double click the newProgramFrame.wxform filename in the project tree) and the component list should appear (with icons) on the right hand side of the IDE.
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/

batfinks
In need of some credit
In need of some credit
Posts: 5
Joined: Mon Feb 07, 2005 10:28 pm

Definately

Post by batfinks » Tue Feb 08, 2005 4:31 pm

NinjaNL,

Yes, I am definately in the form editor, I see the icons, but the pull down only has "sizers" "controls" and "options". Your tutorial says that there should be a selection of "menus" also, but I don't see that.

The icons for static text, button, etc are there, and I can and have placed them, but I don't have all the selections I should, apparently.

NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

Post by NinjaNL » Tue Feb 08, 2005 5:23 pm

There should be options for "Sizers, Controls, Window, Toolbar, Menu, Dialogs, System, All"

I am guessing here but did you install over a previous version? I remember somewhere that this can cause problems. Something to do with the devcpp.pallete file I believe. You could begin by deleting the devcpp.pallete file and running wxDevCpp again. This should clear the problem.

Otherwise, what I suggest is that you save your projects to a folder somewhere else on your hard drive, uninstal wxDevCpp and then delete the folder where wxDevCpp was installed. Then reinstall wxDevCpp.

And then let me know if anything changed.
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/

batfinks
In need of some credit
In need of some credit
Posts: 5
Joined: Mon Feb 07, 2005 10:28 pm

Thank you, thank you, thank you!

Post by batfinks » Tue Feb 08, 2005 6:10 pm

Yes, I had installed over a previous version, and yes, deleting devcpp.pallete and re-installing wxDevCpp gave me a WHOLE bunch of more options! That should make it a whole lot better tool, and it was very good before!

Thanks again...

mopslik
In need of some credit
In need of some credit
Posts: 4
Joined: Wed Feb 16, 2005 2:37 pm

Post by mopslik » Thu Feb 17, 2005 7:48 pm

Good little tutorial. Once I finally installed wxDevCpp correctly, everything went smoothly. I had the "application crashes on exit" problem, but found the "rebuild all" solution in the forums.

Now for some fun...

spec
In need of some credit
In need of some credit
Posts: 9
Joined: Sat Feb 26, 2005 6:47 pm

Re: IDE tutorials for wxWidgets

Post by spec » Sat Feb 26, 2005 7:01 pm

I ran I spell check on the tutorial:

Editing the StatusBar section:
savoury - should be savory
Fileds - should be Fields

Adding a Menu to your Form:
To add a mernu - should be menu
Creat Submenu button - Create
to acheive the same result. We can simply choode Alt+X and th - achieve and choose
our program still needt - needs

Adding A Toolbar
thePicture Editor dialog. - the Picture

NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

Re: IDE tutorials for wxWidgets

Post by NinjaNL » Mon Feb 28, 2005 7:51 am

spec wrote:spell check
Next time I'll remember that Amaya has a spell Check (F7) function.

For now the tutorial has been (corrected and?) included with the wx-DevCpp distribution, and also compiled into a help file. Available from http://reina.homedns.org/wxdevcpp/wx-de ... 20Help.chm

I am currently working on a second tutorial, "creating wxWordPad - extending the minimal sample", if for no other reason than I actually DO something.
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/

spec
In need of some credit
In need of some credit
Posts: 9
Joined: Sat Feb 26, 2005 6:47 pm

Re: IDE tutorials for wxWidgets

Post by spec » Mon Feb 28, 2005 4:03 pm

NinjaNL wrote:
spec wrote:spell check
Next time I'll remember that Amaya has a spell Check (F7) function.

For now the tutorial has been (corrected and?) included with the wx-DevCpp distribution, and also compiled into a help file. Available from http://reina.homedns.org/wxdevcpp/wx-de ... 20Help.chm

I am currently working on a second tutorial, "creating wxWordPad - extending the minimal sample", if for no other reason than I actually DO something.
why aren't you hosting it on wxdsgn.sf.net like Guru (for example http://wxdsgn.sourceforge.net/tutorial/wx-vc2003.htm )? you should have access to do so. If you're having trouble uploading files on there let me know. I'm sure all other wxdsgn project people won't mind.

You can also put it on the website as documentation like Tony did:
http://sourceforge.net/docman/?group_id=95606

tbreina
Moderator
Moderator
Posts: 1289
Joined: Thu Nov 25, 2004 7:38 pm
Location: Coronado, CA

Post by tbreina » Mon Feb 28, 2005 4:12 pm

I can do the upload to the SF site. I'll give it a go right now.

-Tony

NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

Post by NinjaNL » Mon Feb 28, 2005 4:15 pm

tbreina wrote:I can do the upload to the SF site. I'll give it a go right now.

-Tony
Acerooney!!!

FAME at last! 8) 8) 8) 8) 8)
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/

spec
In need of some credit
In need of some credit
Posts: 9
Joined: Sat Feb 26, 2005 6:47 pm

Post by spec » Mon Feb 28, 2005 4:35 pm

tbreina wrote:I can do the upload to the SF site. I'll give it a go right now.

-Tony
Tony,

if NinjaNL doesn't appose, I would create a news item about those tutorials. He's a member of wxdsgn team and the tutorials are very good starters for wxdev-cpp development. What do you think?

Marek

spec
In need of some credit
In need of some credit
Posts: 9
Joined: Sat Feb 26, 2005 6:47 pm

Post by spec » Mon Feb 28, 2005 4:40 pm

regarding uploads I use filezilla.sf.net
here are good instructions on setting it up for sourceforge:
http://sourceforge.net/forum/message.php?msg_id=1714958

Post Reply