mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Add ability to make global name strings from a wchar_t constant
This commit is contained in:
@@ -1302,7 +1302,7 @@ def guessTypeFloat(v):
|
||||
def guessTypeStr(v):
|
||||
if hasattr(v, 'value') and '"' in v.value:
|
||||
return True
|
||||
for t in ['wxString', 'wxChar', 'char*', 'char *']:
|
||||
for t in ['wxString', 'wxChar', 'char*', 'char *', 'wchar_t*', 'wchar_t *']:
|
||||
if t in v.type:
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user