Diff for /np2/win9x/dialog/dialogs.cpp between versions 1.6 and 1.8

version 1.6, 2005/02/09 20:11:36 version 1.8, 2005/03/20 13:12:50
Line 4 Line 4
 #include        "dosio.h"  #include        "dosio.h"
 #include        "commng.h"  #include        "commng.h"
 #include        "dialogs.h"  #include        "dialogs.h"
   #if defined(MT32SOUND_DLL)
   #include        "mt32snd.h"
   #endif
   
   
 const OEMCHAR str_nc[] = OEMTEXT("N/C");  const TCHAR str_nc[] = _T("N/C");
   
 const OEMCHAR str_int0[] = OEMTEXT("INT0");  const TCHAR str_int0[] = _T("INT0");
 const OEMCHAR str_int1[] = OEMTEXT("INT1");  const TCHAR str_int1[] = _T("INT1");
 const OEMCHAR str_int2[] = OEMTEXT("INT2");  const TCHAR str_int2[] = _T("INT2");
 const OEMCHAR str_int4[] = OEMTEXT("INT4");  const TCHAR str_int4[] = _T("INT4");
 const OEMCHAR str_int5[] = OEMTEXT("INT5");  const TCHAR str_int5[] = _T("INT5");
 const OEMCHAR str_int6[] = OEMTEXT("INT6");  const TCHAR str_int6[] = _T("INT6");
   
   
 // ---- file select  // ---- file select
Line 107  BOOL dlgs_selectwritenum(HWND hWnd, cons Line 110  BOOL dlgs_selectwritenum(HWND hWnd, cons
   
 // ---- mimpi def file  // ---- mimpi def file
   
 static const OEMCHAR mimpi_title[] = OEMTEXT("Open MIMPI define file");  static const TCHAR mimpi_title[] = _T("Open MIMPI define file");
 static const OEMCHAR mimpi_ext[] = OEMTEXT("def");  static const TCHAR mimpi_ext[] = _T("def");
 static const OEMCHAR mimpi_filter[] = OEMTEXT("MIMPI define file(*.def)\0*.def\0");  static const TCHAR mimpi_filter[] = _T("MIMPI define file(*.def)\0*.def\0");
 static const FILESEL mimpi = {mimpi_title, mimpi_ext, mimpi_filter, 1};  static const FILESEL mimpi = {mimpi_title, mimpi_ext, mimpi_filter, 1};
   
 void dlgs_browsemimpidef(HWND hWnd, UINT16 res) {  void dlgs_browsemimpidef(HWND hWnd, UINT16 res) {
Line 132  const OEMCHAR *p; Line 135  const OEMCHAR *p;
   
 // ---- list  // ---- list
   
 void dlgs_setliststr(HWND hWnd, UINT16 res, const OEMCHAR **item, UINT items) {  void dlgs_setliststr(HWND hWnd, UINT16 res, const TCHAR **item, UINT items) {
   
         HWND    wnd;          HWND    wnd;
         UINT    i;          UINT    i;
Line 184  void dlgs_setlistmidiout(HWND hWnd, UINT Line 187  void dlgs_setlistmidiout(HWND hWnd, UINT
         }          }
         num++;          num++;
 #endif  #endif
   #if defined(MT32SOUND_DLL)
           if (mt32sound_isenable()) {
                   SendMessage(wnd, CB_INSERTSTRING, (WPARAM)num,
                                                                                                           (LPARAM)cmmidi_mt32sound);
                   if (!milstr_cmp(defname, cmmidi_mt32sound)) {
                           defcur = num;
                   }
                   num++;
           }
   #endif
         for (i=0; i<devs; i++) {          for (i=0; i<devs; i++) {
                 if (midiOutGetDevCaps(i, &moc, sizeof(moc)) == MMSYSERR_NOERROR) {                  if (midiOutGetDevCaps(i, &moc, sizeof(moc)) == MMSYSERR_NOERROR) {
                         SendMessage(wnd, CB_INSERTSTRING,                          SendMessage(wnd, CB_INSERTSTRING,

Removed from v.1.6  
changed lines
  Added in v.1.8


RetroPC.NET-CVS <cvs@retropc.net>