I have try my modification of wxscustombuttom.cpp under Mageia7 with gcc8, wx 3.0.4 and CB commit: 12281 .
wxART_ORTHER_C is not a wxString but a const char [14].
wxthings/wxscustombutton.cpp: Dans la fonction membre « virtual void wxsCustomButton::OnBuildCreatingCode() »:
wxthings/wxscustombutton.cpp:126:98: error: requκte du membre « wx_str » dans « ("wxART_OTHER_C") », lequel est de type non classe « const char [14] »
Codef(_T("%C(%W,%I,%t,%i,%P,%S,%s,%V,%N);\n"),m_Label.wx_str(),&m_Bitmap,wxART_OTHER.wx_str(),Style.wx_str());
^~~~~~
wxthings/wxscustombutton.cpp:130:86: error: requκte du membre « wx_str » dans « ("wxART_OTHER_C") », lequel est de type non classe « const char [14] »
Codef(_T("%ASetBitmapSelected(%i);\n"),&m_BitmapSelected,wxART_OTHER.wx_str());
^~~~~~
wxthings/wxscustombutton.cpp:135:82: error: requκte du membre « wx_str » dans « ("wxART_OTHER_C") », lequel est de type non classe « const char [14] »
Codef(_T("%ASetBitmapFocus(%i);\n"),&m_BitmapFocused,wxART_OTHER.wx_str());
^~~~~~
wxthings/wxscustombutton.cpp:140:86: error: requκte du membre « wx_str » dans « ("wxART_OTHER_C") », lequel est de type non classe « const char [14] »
Codef(_T("%ASetBitmapDisabled(%i);\n"),&m_BitmapDisabled,wxART_OTHER.wx_str());
^~~~~~
make[4]: *** [Makefile:902: wxthings/wxscustombutton.lo] Error 1