diff --git a/images/Cursors.h b/images/Cursors.h index 83da26ff3..cb7d51f83 100644 --- a/images/Cursors.h +++ b/images/Cursors.h @@ -56,3 +56,5 @@ #endif #endif + +wxCursor * MakeCursor(int WXUNUSED(CursorId), const char * pXpm[36], int HotX, int HotY); diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index fde42b8a6..fa7ac3e72 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -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;