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:
committed by
Paul Licameli
parent
aaecf213b8
commit
d8da4015ef
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user