Hi all I got code block to compile with wxwidgets 2.60 here are some of the problems i had and hopefully there fix.
I also got this error
sdk/cbeditor.cpp: In member function `bool cbEditor::SaveAs()':
sdk/cbeditor.cpp:503: `wxHIDE_READONLY' undeclared (first use this function)
sdk/cbeditor.cpp:503: (Each undeclared identifier is reported only once for each function it appears in.)
I gid of some of my error buy tracking down the defines needed in source could here what i have for defines
__GNUWIN32__
__WXMSW__
WXUSINGDLL
wxUSE_EXCEPTIONS
wxUSE_STDPATHS
wxUSE_XML
wxUSE_CHOICEBOOK
wxUSE_DATEPICKCTRL
wxUSE_XRC
wxUSE_LISTBOOK
wxUSE_MDI
wxUSE_SOUND
wxUSE_ARCHIVE_STREAMS
I might have a few not need but hay it worked and as far as i know haveing lot of defines not use don't hurt.
I copied setup.h in lib\gcc_dll\msw\wx to include\wx
I found that I useing alot of my dev-cpp Include for wxwidget libbarry so i removed the dev-cpp package for it. (you probbly could move the dir its in if you don't want to do this but why when you have it setup to use wxwidget in code::blocks with a new one.)
The stang

e thing about this is that i don't tell it to seach the dev-cpp dir anyware in code::block setup. I don't know why it is doing this. I even check the compiler plugin option it is not there. any have any idea what i might have forgot?.
I also change the name of many of the lib to point to of the correct lib for the wxwidgets 2.6.0 stable realse. I add WX_VER Varibale and put it to 2.6.0 or something simelere check the lib.
i had to delete all the libbary that ask to load the wxxrc libbary because i buit wxwidget all as one libbarry.
I got an error on wxarraystring was parrtaly define so I look at wxwidgets 2.6.0 doc and and it to the top of the file wich gave me an error
It gave me anther error about can't convert (int to void* or something simmaler) for tree control so I again went to doc to fix this i had to replace int with one of there class name.
The last thing i did was to temprally rename dev-cpp\ lib and include for some reson it was still useing some file from dev-cpp insted of the ones in with wxwidgets 2.6.0
I hope I did not forget anything good luck.
ps I doing all this buy memmory