News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wxSmith Tutorial question (error)

Started by kodestiff, January 23, 2010, 11:48:18 PM

Previous topic - Next topic

kodestiff

Hello

Thank you very much for the wxSmith tutorials. :)

I did notice that at the bottom of wxSmith Tutorial 6 http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Accessing_items_in_resource
QuoteHeader file to include in the tut....main.h file: #include <wx/colordlg.h>
caused a compiler error.  Should it not be "Header file to include in the tut....main.h file: #include <wx/colordlg.cpp>"?

I didn't want to edit, because I'm very new to this...

Stefan

oBFusCATed

Have you tried your solution?  :lol: 8) :P (it won't work)
Most of the time the header files (.h;.hpp;.hxx) are included, not the source files (.cpp;.c;.c++;.cxx).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

kodestiff

Quote from: kodestiff on January 23, 2010, 11:48:18 PM
Hello

How silly of me!   :? I misswrote my solution (too late at night).   What I meant was:

QuoteHeader file to include in the tut....main.h file: #include <wx/colordlg.h>
caused a compiler error.  Should it not be "Header file to include in the tut....main.cpp file: #include <wx/colordlg.h>"?

And this definitely worked!  :lol:

Stefan