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:
parent
e0621819ed
commit
525b22d63d
@ -56,3 +56,5 @@
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
wxCursor * MakeCursor(int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY);
|
||||
|
@ -402,7 +402,8 @@ BEGIN_EVENT_TABLE(TrackPanel, wxWindow)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
/// 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user