1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-03 22:19:07 +02:00

Let MakeCursor be called elsewhere than from TrackPanel.cpp

This commit is contained in:
Paul Licameli 2015-07-07 19:51:48 -04:00
parent e0621819ed
commit 525b22d63d
2 changed files with 4 additions and 1 deletions

View File

@ -56,3 +56,5 @@
#endif #endif
#endif #endif
wxCursor * MakeCursor(int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY);

View File

@ -402,7 +402,8 @@ BEGIN_EVENT_TABLE(TrackPanel, wxWindow)
END_EVENT_TABLE() END_EVENT_TABLE()
/// Makes a cursor from an XPM, uses CursorId as a fallback. /// Makes a cursor from an XPM, uses CursorId as a fallback.
static wxCursor * MakeCursor( int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY ) /// TODO: Move this function to some other source file for reuse elsewhere.
wxCursor * MakeCursor( int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY )
{ {
wxCursor * pCursor; wxCursor * pCursor;