It should be possible to just link with the BASS.LIB file, instead of using LoadLibrary and GetProcAddress. Here's the relevant part of the Code::Blocks documentation... www.codeblocks.org/docs/main_codeblocks_en3.html#x3-340001.11.13
Regarding BASS initialization, for output, basically all you need is a BASS_Init call (please see the documentation for usage details). One thing to note is that you need a window handle (HWND) for that. I haven't used wxWidgets myself, but I guess it must have a way to get the underlying window handle.