mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Fix incorrect doubling on ** in some cases.
More nested enum fixes.
This commit is contained in:
@@ -239,7 +239,7 @@ def pythonizeType(ptype, is_param):
|
||||
ptype = ptype.strip()
|
||||
ptype = removeWxPrefix(ptype)
|
||||
|
||||
if '. wx' in ptype:
|
||||
if '. wx' in ptype: #***
|
||||
ptype = ptype.replace('. wx', '.')
|
||||
|
||||
plower = ptype.lower()
|
||||
@@ -297,7 +297,7 @@ def convertToPython(text):
|
||||
2. Lines starting with "Include file" or "#include" are ignored.
|
||||
3. Uppercase constants (i.e., like ID_ANY, HORIZONTAL and so on) are converted
|
||||
into inline literals (i.e., ``ID_ANY``, ``HORIZONTAL``).
|
||||
4. The "wx" prefix is removed from all the words in the input `text`.
|
||||
4. The "wx" prefix is removed from all the words in the input `text`. #***
|
||||
|
||||
:param string `text`: any string.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user