Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: kodestiff on January 23, 2010, 11:48:18 pm
-
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 (http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Accessing_items_in_resource)
Header 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
-
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).
-
Hello
How silly of me! :? I misswrote my solution (too late at night). What I meant was:
Header 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