Changeset 866a9a5 in git


Ignore:
Timestamp:
17/06/10 16:42:50 (9 years ago)
Author:
Olly Betts <olly@…>
Branches:
svn/1.0, svn/tags/1.0.40
Children:
5875f955
Parents:
6a6cb97
Message:

src/aventreectrl.cc: Fix to compile with wx >= 2.7.

git-svn-id: file:///home/survex-svn/survex/branches/1.0@3445 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r6a6cb97 r866a9a5  
     1Thu Jun 17 15:42:29 GMT 2010  Olly Betts <olly@survex.com>
     2
     3        * src/aventreectrl.cc: Fix to compile with wx >= 2.7.
     4
    15Thu Jun 17 15:36:50 GMT 2010  Olly Betts <olly@survex.com>
    26
  • src/aventreectrl.cc

    r6a6cb97 r866a9a5  
    55//
    66//  Copyright (C) 2001, Mark R. Shinwell.
    7 //  Copyright (C) 2001-2003,2005 Olly Betts
     7//  Copyright (C) 2001-2003,2005,2010 Olly Betts
    88//  Copyright (C) 2005 Martin Green
    99//
     
    2020//  You should have received a copy of the GNU General Public License
    2121//  along with this program; if not, write to the Free Software
    22 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    2323//
    2424
     
    151151        case WXK_LEFT: case WXK_RIGHT: case WXK_UP: case WXK_DOWN:
    152152        case WXK_HOME: case WXK_END: case WXK_PAGEUP: case WXK_PAGEDOWN:
    153         // PRIOR/NEXT seem to actually be PAGEUP/PAGEDOWN (tested on wxGtk)
     153        // On wx 2.6 and earlier, PRIOR/NEXT seem to actually be
     154        // PAGEUP/PAGEDOWN (on wxGtk at least).  In wx 2.7 and later
     155        // they're just compatibility aliases, so either they have the
     156        // same value or aren't defined - either way the code won't
     157        // compile.
     158#if !wxCHECK_VERSION(2,7,0)
    154159        case WXK_PRIOR: case WXK_NEXT:
     160#endif
    155161            e.Skip();
    156162            break;
Note: See TracChangeset for help on using the changeset viewer.