]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
added copy arrow cursor macos specific
[wxWidgets.git] / src / generic / treectlg.cpp
index c02717df4180fbcbb3e71d0e90b2debedf0356ba..4ca553af2aa484f3580bb66e32f8cb5a593fe251 100644 (file)
@@ -292,7 +292,7 @@ private:
     short               m_images[wxTreeItemIcon_Max];
 
     wxCoord             m_x;            // (virtual) offset from top
-    short               m_y;            // (virtual) offset from left
+    wxCoord             m_y;            // (virtual) offset from left
     short               m_width;        // width of this item
     unsigned char       m_height;       // height of this item
 
@@ -2529,7 +2529,7 @@ void wxGenericTreeCtrl::OnChar( wxKeyEvent &event )
     // home  : go to root
     // end   : go to last item without opening parents
     // alnum : start or continue searching for the item with this prefix
-    int keyCode = event.KeyCode();
+    int keyCode = event.GetKeyCode();
     switch ( keyCode )
     {
         case '+':