SFML community forums
Help => Window => Topic started by: roosterkin123 on April 14, 2011, 04:09:21 pm
-
void WindowImplWin32::SetTitle(const std::string& title)
{
SetWindowText(myHandle, title.c_str());
}
line 270 windowimplwin32.cpp
Cant compile this with unicode. Had to use mbstowcs
-
Did you configure it to use Unicode manually, or was it set automatically by CMake?
-
I configured visual studio to be unicode.
I dont use cmake.
-
How did you create your Visual Studio solution if you don't use CMake?
-
I just included most of the sfml files into my project.
-
Ok... I'll try to fix that.
Thanks for your feedback.
-
If you are using a non-UNICODE class (string) then can't this be fixed by calling a non-UNICODE Window function (SetWindowTextA()) ?
void WindowImplWin32::SetTitle(const std::string& title)
{
SetWindowTextA(myHandle, title.c_str());
}
-
I know ;)