]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove wxStockCursor function that should never have been global.
authorDavid Elliott <dfe@tgwbd.org>
Fri, 20 Jul 2007 04:08:58 +0000 (04:08 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 20 Jul 2007 04:08:58 +0000 (04:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/cursor.mm

index 7f3ec31b19234a4dd5edca8c6e5b1d5cd4d9d1ee..a1fad8eba59a713bd3407956e4d2cff6885c2fcd 100644 (file)
@@ -259,13 +259,6 @@ static inline NSCursor* NSCursorCreateWithPrivateId(short sIndex)
     return theCursor;
 }
 
-// TODO: Remove in trunk.. needed for 2.8
-NSCursor* wxGetStockCursor( short sIndex )
-{
-    wxLogDebug("Please do not call wxGetStockCursor.");
-    return NSCursorCreateWithPrivateId(sIndex);
-}
-
 wxCursorRefData::wxCursorRefData() :
     m_width(32), m_height(32), m_hCursor(nil)
 {
@@ -424,7 +417,7 @@ wxCursor::wxCursor(int stock_cursor_id)
     {
         int privateId;
         if( (privateId = GetPrivateCursorIdForStockCursor(stock_cursor_id)) >= 0)
-        {   // wxGetStockCursor is not a get method but an alloc method.
+        {
             M_CURSORDATA->m_hCursor = NSCursorCreateWithPrivateId(privateId);
         }
     }