Changeset 1395 for trunk/dll/objwin.c


Ignore:
Timestamp:
Feb 8, 2009, 2:48:16 AM (17 years ago)
Author:
Gregg Young
Message:

Allow user to turn off alert and/or error beeps in settings notebook. Ticket 341 Move repeated strings to PCSZs. Ticket 6 Add *DateFormat functions to format dates based on locale Ticket 28 Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error Ticket 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/objwin.c

    r1226 r1395  
    1414  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1515  08 Jul 08 SHL Correct Fortify_LeaveScope usage and avoid spurious reports
     16  07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error
    1617
    1718***********************************************************************/
     
    3334#include "objwin.h"
    3435#include "treecnr.h"                    // TreeObjWndProc
    35 
     36#include "strutil.h"                    // GetPString
    3637
    3738static PSZ pszSrcFile = __FILE__;
     
    8384                                   0L, 0L, HWND_TOP, OBJ_FRAME, NULL, NULL);
    8485      if (!ObjectHwnd)
    85         Win_Error2(HWND_OBJECT, HWND_DESKTOP, pszSrcFile, __LINE__,
    86                    IDS_WINCREATEWINDOW);
     86        Win_Error(HWND_OBJECT, HWND_DESKTOP, pszSrcFile, __LINE__,
     87                  PCSZ_WINCREATEWINDOW);
    8788      else {
    8889#       ifdef FORTIFY
Note: See TracChangeset for help on using the changeset viewer.