Hello,
I'm currently trying to complete this tutorial: http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Using_wxPanel_resources
But I'm getting this error:
-------------- Build: Debug in wxTest6 (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -std=c++11 -IC:\SourceCode\Libraries\wxWidgets3.0\include -IC:\SourceCode\Libraries\wxWidgets3.0\lib\gcc_dll\mswud -c C:\Users\Josh\Documents\wxTest6\wxTest6App.cpp -o obj\Debug\wxTest6App.o
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -std=c++11 -IC:\SourceCode\Libraries\wxWidgets3.0\include -IC:\SourceCode\Libraries\wxWidgets3.0\lib\gcc_dll\mswud -c C:\Users\Josh\Documents\wxTest6\wxTest6Main.cpp -o obj\Debug\wxTest6Main.o
mingw32-g++.exe -LC:\SourceCode\Libraries\wxWidgets3.0\lib\gcc_dll -o bin\Debug\wxTest6.exe obj\Debug\InternalPanel.o obj\Debug\wxTest6App.o obj\Debug\wxTest6Main.o obj\Debug\resource.res -mthreads -lwxmsw30ud -mwindows
obj\Debug\wxTest6Main.o: In function `ZN12wxTest6FrameC2EP8wxWindowi':
C:/Users/Josh/Documents/wxTest6/wxTest6Main.cpp:100: undefined reference to `wxTest6Frame::OnCustom1Paint(wxPaintEvent&)'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
1 error(s), 0 warning(s) (0 minute(s), 1 second(s))
Line 100:
Custom1->Connect(wxEVT_PAINT,(wxObjectEventFunction)&wxTest6Frame::OnCustom1Paint,0,this);