Fixes so that wxPython builds on 2.7. Mostly removing references to all functions that require WXWIN_2_4_COMPATIBILITY to be defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -348,7 +348,7 @@ def GetOsDescription(*args, **kwargs):
|
||||
return _misc_.GetOsDescription(*args, **kwargs)
|
||||
|
||||
def GetFreeMemory(*args, **kwargs):
|
||||
"""GetFreeMemory() -> long"""
|
||||
"""GetFreeMemory() -> wxMemorySize"""
|
||||
return _misc_.GetFreeMemory(*args, **kwargs)
|
||||
SHUTDOWN_POWEROFF = _misc_.SHUTDOWN_POWEROFF
|
||||
SHUTDOWN_REBOOT = _misc_.SHUTDOWN_REBOOT
|
||||
@@ -486,14 +486,6 @@ def MessageBox(*args, **kwargs):
|
||||
"""
|
||||
return _misc_.MessageBox(*args, **kwargs)
|
||||
|
||||
def GetNumberFromUser(*args, **kwargs):
|
||||
"""
|
||||
GetNumberFromUser(String message, String prompt, String caption, long value,
|
||||
long min=0, long max=100, Window parent=None,
|
||||
Point pos=DefaultPosition) -> long
|
||||
"""
|
||||
return _misc_.GetNumberFromUser(*args, **kwargs)
|
||||
|
||||
def ColourDisplay(*args, **kwargs):
|
||||
"""ColourDisplay() -> bool"""
|
||||
return _misc_.ColourDisplay(*args, **kwargs)
|
||||
|
Reference in New Issue
Block a user