Ideally you would just not include TGUI and windows.h in the same files. But you can just add this after including windows.h:
There isn't much that I could do to prevent this, this is exactly the reason why people should use namespaces and never put defines of common words in a header file.
Code (cpp) Select
#undef MessageBoxThere isn't much that I could do to prevent this, this is exactly the reason why people should use namespaces and never put defines of common words in a header file.



. That class does have a scrollbar.