Use wxASCII_STR() on string literals
Fix the build with wxNO_IMPLICIT_WXSTRING_ENCODING.
This commit is contained in:
committed by
Vadim Zeitlin
parent
65cbf40b7e
commit
c86bcf962d
@@ -373,7 +373,7 @@ void MyFrame::InitImageList()
|
||||
m_imageList = new wxImageList(iconSize.x, iconSize.y);
|
||||
|
||||
// The order should be the same as for the enum elements.
|
||||
static const char* const icons[] =
|
||||
static const wxString icons[] =
|
||||
{
|
||||
wxART_NORMAL_FILE,
|
||||
wxART_FOLDER,
|
||||
|
Reference in New Issue
Block a user