Ignore:
Timestamp:
Jun 3, 2006, 4:37:09 PM (15 years ago)
Author:
Eugene Romanenko
Message:

implemented 'select all', fixes for crash in libc memanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/lucide.cpp

    r35 r40  
    2222 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
    2323 * in which case the provisions of the LGPL are applicable instead of those
    24  * above. If you wish to allow use of your version of this file only under the 
     24 * above. If you wish to allow use of your version of this file only under the
    2525 * terms of the LGPL, and not to allow others to use your version of this file
    2626 * under the terms of the CDDL, indicate your decision by deleting the
    2727 * provisions above and replace them with the notice and other provisions
    2828 * required by the LGPL. If you do not delete the provisions above, a recipient
    29  * may use your version of this file under the terms of any one of the CDDL 
     29 * may use your version of this file under the terms of any one of the CDDL
    3030 * or the LGPL.
    3131 *
     
    244244        WinEnableMenuItem( hWndMenu, CM_ROTATE90CW, FALSE );
    245245        WinEnableMenuItem( hWndMenu, CM_ROTATE90CCW, FALSE );
    246         //WinEnableMenuItem( hWndMenu, CM_NAVPANE, FALSE );
    247         //WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_NAVPANE), (MPARAM)FALSE );
    248246        WinEnableMenuItem( hWndMenu, CM_SINGLEPAGE, FALSE );
    249247        WinEnableMenuItem( hWndMenu, CM_CONTINUOUS, FALSE );
     
    265263    WinEnableMenuItem( hWndMenu, CM_FIND, haveText );
    266264    WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FIND), (MPARAM)haveText );
     265    WinEnableMenuItem( hWndMenu, CM_SELECTALL, haveText );
    267266
    268267    WinEnableMenuItem( hWndMenu, CM_SINGLEPAGE, TRUE );
     
    582581                    return (MRESULT)FALSE;
    583582
     583                case CM_SELECTALL:
     584                    docViewer->selectAll();
     585                    return (MRESULT)FALSE;
     586
    584587                case CM_FIND:
    585588                    if ( findDlg->showDialog() == DID_OK ) {
Note: See TracChangeset for help on using the changeset viewer.