Argoon
Member
|
small bug report
Hello when trying to compile the GUI Tabs tutorial code, it errors at line 23 with
- cannot convert from "const char" to "cchar *"
I'm a beginner in coding and c/c++ so sorry if this is not correct but what I did solved the problem...
This code makes a error:
Code:
cchar *tab[]=
{
"First",
"Second",
"Third",
};
I changed it to
Code:
cchar8 *tab[]=
{
"First",
"Second",
"Third",
};
and the demo compiled.
I assume is because this part of the code:
Code:
window+=tabs .create(Rect_LU(0, 0, window.clientWidth(), 0.08f), 0, tab, Elms(tab)); // create tabs
expects a pointer to a cchar8 * at the third argument?
|
|
03-18-2019 06:52 PM |
|
Esenthel
Administrator
|
RE: small bug report
Thank you very much, bug has been fixed
|
|
03-19-2019 05:06 AM |
|
Argoon
Member
|
RE: small bug report
No problem
|
|
03-19-2019 01:32 PM |
|