This tip is about how to successfully incorporate wxWidgets with FireBreath.
I ran into a lot of problems trying to incorporate widgets in the firebreath framework. Finally after a lot of web search, I could come up with a solution and this tip is just to help people like me having trouble with firebreath and widgets so that all information can be at the same place.
First of all, you have to compile wxWidgets with Multithreaded Debug/Release configuration in code generation rather than Multithreaded Debug/Release DLL.
If you are using unicode character set, then you have to define
#define wxUSE_UNICODE 1 in the setup.h file of widgets (usually it's in C:\wxWidgets-2.8.12\lib\vc_lib\mswud\wx for unicode debug builds).
Most importantly, you may have to place this line in the .cpp file where you are using wxWidget related classes:
And finally, the following should be a list of .lib files that are required to link the project successfully:
- 19th April, 2012: Tip uploaded