소스 검색

* another fix. unicode <> ascii swap

git-svn-id: trunk@10326 -
marco 17 년 전
부모
커밋
a4eab5ca58
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/winunits-base/src/commdlg.pp

+ 2 - 2
packages/winunits-base/src/commdlg.pp

@@ -469,7 +469,7 @@ Type
      tagPDW = TPRINTDLGW;
      TPDW = TPRINTDLGW;
      PPDW = ^TPRINTDLGW;
-     {$ifdef unicode}
+     {$ifndef unicode}
 	  LPPRINTDLG = ^TPRINTDLGA;
       PPRINTDLG = ^TPRINTDLGA;
       _PRINTDLG = TPRINTDLGA; 
@@ -562,7 +562,7 @@ Type
 Const
   comctl32 = 'comctl32.dll';
 
-{$ifdef unicode}
+{$ifndef unicode}
 function GetOpenFileName(_para1:LPOPENFILENAME):WINBOOL; stdcall; external 'comdlg32' name 'GetOpenFileNameA';
 function GetSaveFileName(_para1:LPOPENFILENAME):WINBOOL; stdcall; external 'comdlg32' name 'GetSaveFileNameA';
 function GetFileTitle(_para1:LPCSTR; _para2:LPSTR; _para3:WORD):integer; stdcall; external 'comdlg32' name 'GetFileTitleA';