1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-16 06:03:49 +01:00

Make it possible to const'ify xpm.

This commit is contained in:
Henric Jungheim
2018-01-14 04:32:03 -07:00
committed by Paul Licameli
parent aaecf213b8
commit d8da4015ef
5 changed files with 5 additions and 5 deletions

View File

@@ -271,7 +271,7 @@ END_EVENT_TABLE()
/// Makes a cursor from an XPM, uses CursorId as a fallback.
/// TODO: Move this function to some other source file for reuse elsewhere.
std::unique_ptr<wxCursor> MakeCursor( int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY )
std::unique_ptr<wxCursor> MakeCursor( int WXUNUSED(CursorId), const char * const pXpm[36], int HotX, int HotY )
{
#ifdef CURSORS_SIZE32
const int HotAdjust =0;