/[winpt]/trunk/Src/wptW32API.cpp
ViewVC logotype

Diff of /trunk/Src/wptW32API.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 204 by twoaday, Wed Apr 26 06:37:23 2006 UTC revision 205 by twoaday, Thu Apr 27 12:46:03 2006 UTC
# Line 591  get_temp_name (char *buf, DWORD buflen, Line 591  get_temp_name (char *buf, DWORD buflen,
591  }  }
592    
593    
 /* SetDlgItemText replacement with UTF8 support. */    
 void  
 SetDlgItemText_utf8 (HWND dlg, int id, const char *txt)  
 {  
     char *utf8_txt;  
   
     utf8_txt = utf8_to_native (txt);  
     SetDlgItemText (dlg, id, utf8_txt);  
     safe_free (utf8_txt);  
 }  
   
 /* SetWindowText replacement with UTF8 support. */  
 void  
 SetWindowText_utf8 (HWND hwnd, const char *txt)  
 {  
     char *utf8_txt;  
   
     utf8_txt = utf8_to_native (txt);  
     SetWindowText (hwnd, utf8_txt);  
     safe_free (utf8_txt);  
 }  
   
   
594  void  void
595  ListBox_AddString_utf8 (HWND lb, const char *txt)  ListBox_AddString_utf8 (HWND lb, const char *txt)
596  {  {

Legend:
Removed from v.204  
changed lines
  Added in v.205

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26