Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :i metodi riportati esistevano gia'!!!


git-svn-id: svn://10.65.10.50/trunk@17114 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-08-27 15:54:58 +00:00
parent e539c0136c
commit 61c5d7d4a1
4 changed files with 1 additions and 31 deletions

@ -1017,10 +1017,3 @@ void OsWin32_NumberFormat(char* str, int size)
::GetNumberFormat(LOCALE_USER_DEFAULT, 0, str, NULL, buf, sizeof(buf));
wxStrncpy(str, buf, size);
}
void OsWin32_NumberFormat(char* str, int size)
{
char buf[80];
::GetNumberFormat(LOCALE_USER_DEFAULT, 0, str, NULL, buf, sizeof(buf));
wxStrncpy(str, buf, size);
}

@ -19,9 +19,8 @@ void OsWin32_PlaceProcessInWindow(unsigned int instance, const char* name, unsig
unsigned int OsWin32_FindMenuContainer();
long OsWin32_GetChildrenCount(unsigned int parent);
long OsWin32_CloseChildren(unsigned int parent);
void OsWin32_NumberFormat(char* str, int size);
void OsWin32_UpdateWindow(unsigned int handle);
void OsWin32_NumberFormat(char* str, int size);
int OsWin32_Help(WXHWND handle, const char* hlp, unsigned int cmd, const char* topic);

@ -3388,27 +3388,6 @@ char* xvt_str_number_format(char* str, int size)
return str;
}
char* xvt_str_number_format(char* str, int size)
{
#ifdef WIN32
OsWin32_NumberFormat(str, size);
#else
wxString txt;
for (const char* s = str; *s; s++)
{
if (isdigit(*s))
txt << *s;
else
{
if (*s == '.')
txt << ',';
}
}
wxStrncpy(str, txt, size);
#endif
return str;
}
BOOLEAN xvt_str_match(const char* mbs, const char *pat, BOOLEAN case_sensitive)
{
/*

@ -325,7 +325,6 @@ XVTDLL void xvt_str_make_upper(char* str);
XVTDLL void xvt_str_make_lower(char* str);
XVTDLL char* xvt_str_number_format(char* str, int size);
XVTDLL BOOLEAN xvt_str_md5(const char* instr, char* outstr32);
XVTDLL char* xvt_str_number_format(char* str, int size);
XVTDLL XVT_TREEVIEW_NODE xvt_treeview_add_child_node(WINDOW win,
XVT_TREEVIEW_NODE parent, XVT_TREEVIEW_NODE_TYPE type,