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:
@@ -421,19 +421,11 @@ class TopLevelWindow(_core.Window):
|
||||
return _windows_.TopLevelWindow_IsFullScreen(*args, **kwargs)
|
||||
|
||||
def SetTitle(*args, **kwargs):
|
||||
"""
|
||||
SetTitle(self, String title)
|
||||
|
||||
Sets the window's title. Applicable only to frames and dialogs.
|
||||
"""
|
||||
"""SetTitle(self, String title)"""
|
||||
return _windows_.TopLevelWindow_SetTitle(*args, **kwargs)
|
||||
|
||||
def GetTitle(*args, **kwargs):
|
||||
"""
|
||||
GetTitle(self) -> String
|
||||
|
||||
Gets the window's title. Applicable only to frames and dialogs.
|
||||
"""
|
||||
"""GetTitle(self) -> String"""
|
||||
return _windows_.TopLevelWindow_GetTitle(*args, **kwargs)
|
||||
|
||||
def SetShape(*args, **kwargs):
|
||||
@@ -4047,78 +4039,6 @@ class PrintData(_core.Object):
|
||||
"""SetPrivData(self, PyObject data)"""
|
||||
return _windows_.PrintData_SetPrivData(*args, **kwargs)
|
||||
|
||||
def GetPrinterCommand(*args, **kwargs):
|
||||
"""GetPrinterCommand(self) -> String"""
|
||||
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)
|
||||
|
||||
def GetPrinterOptions(*args, **kwargs):
|
||||
"""GetPrinterOptions(self) -> String"""
|
||||
return _windows_.PrintData_GetPrinterOptions(*args, **kwargs)
|
||||
|
||||
def GetPreviewCommand(*args, **kwargs):
|
||||
"""GetPreviewCommand(self) -> String"""
|
||||
return _windows_.PrintData_GetPreviewCommand(*args, **kwargs)
|
||||
|
||||
def GetFontMetricPath(*args, **kwargs):
|
||||
"""GetFontMetricPath(self) -> String"""
|
||||
return _windows_.PrintData_GetFontMetricPath(*args, **kwargs)
|
||||
|
||||
def GetPrinterScaleX(*args, **kwargs):
|
||||
"""GetPrinterScaleX(self) -> double"""
|
||||
return _windows_.PrintData_GetPrinterScaleX(*args, **kwargs)
|
||||
|
||||
def GetPrinterScaleY(*args, **kwargs):
|
||||
"""GetPrinterScaleY(self) -> double"""
|
||||
return _windows_.PrintData_GetPrinterScaleY(*args, **kwargs)
|
||||
|
||||
def GetPrinterTranslateX(*args, **kwargs):
|
||||
"""GetPrinterTranslateX(self) -> long"""
|
||||
return _windows_.PrintData_GetPrinterTranslateX(*args, **kwargs)
|
||||
|
||||
def GetPrinterTranslateY(*args, **kwargs):
|
||||
"""GetPrinterTranslateY(self) -> long"""
|
||||
return _windows_.PrintData_GetPrinterTranslateY(*args, **kwargs)
|
||||
|
||||
def SetPrinterCommand(*args, **kwargs):
|
||||
"""SetPrinterCommand(self, String command)"""
|
||||
return _windows_.PrintData_SetPrinterCommand(*args, **kwargs)
|
||||
|
||||
def SetPrinterOptions(*args, **kwargs):
|
||||
"""SetPrinterOptions(self, String options)"""
|
||||
return _windows_.PrintData_SetPrinterOptions(*args, **kwargs)
|
||||
|
||||
def SetPreviewCommand(*args, **kwargs):
|
||||
"""SetPreviewCommand(self, String command)"""
|
||||
return _windows_.PrintData_SetPreviewCommand(*args, **kwargs)
|
||||
|
||||
def SetFontMetricPath(*args, **kwargs):
|
||||
"""SetFontMetricPath(self, String path)"""
|
||||
return _windows_.PrintData_SetFontMetricPath(*args, **kwargs)
|
||||
|
||||
def SetPrinterScaleX(*args, **kwargs):
|
||||
"""SetPrinterScaleX(self, double x)"""
|
||||
return _windows_.PrintData_SetPrinterScaleX(*args, **kwargs)
|
||||
|
||||
def SetPrinterScaleY(*args, **kwargs):
|
||||
"""SetPrinterScaleY(self, double y)"""
|
||||
return _windows_.PrintData_SetPrinterScaleY(*args, **kwargs)
|
||||
|
||||
def SetPrinterScaling(*args, **kwargs):
|
||||
"""SetPrinterScaling(self, double x, double y)"""
|
||||
return _windows_.PrintData_SetPrinterScaling(*args, **kwargs)
|
||||
|
||||
def SetPrinterTranslateX(*args, **kwargs):
|
||||
"""SetPrinterTranslateX(self, long x)"""
|
||||
return _windows_.PrintData_SetPrinterTranslateX(*args, **kwargs)
|
||||
|
||||
def SetPrinterTranslateY(*args, **kwargs):
|
||||
"""SetPrinterTranslateY(self, long y)"""
|
||||
return _windows_.PrintData_SetPrinterTranslateY(*args, **kwargs)
|
||||
|
||||
def SetPrinterTranslation(*args, **kwargs):
|
||||
"""SetPrinterTranslation(self, long x, long y)"""
|
||||
return _windows_.PrintData_SetPrinterTranslation(*args, **kwargs)
|
||||
|
||||
|
||||
class PrintDataPtr(PrintData):
|
||||
def __init__(self, this):
|
||||
@@ -4368,14 +4288,6 @@ class PrintDialogData(_core.Object):
|
||||
"""GetPrintToFile(self) -> bool"""
|
||||
return _windows_.PrintDialogData_GetPrintToFile(*args, **kwargs)
|
||||
|
||||
def GetSetupDialog(*args, **kwargs):
|
||||
"""GetSetupDialog(self) -> bool"""
|
||||
return _windows_.PrintDialogData_GetSetupDialog(*args, **kwargs)
|
||||
|
||||
def SetSetupDialog(*args, **kwargs):
|
||||
"""SetSetupDialog(self, bool flag)"""
|
||||
return _windows_.PrintDialogData_SetSetupDialog(*args, **kwargs)
|
||||
|
||||
def SetFromPage(*args, **kwargs):
|
||||
"""SetFromPage(self, int v)"""
|
||||
return _windows_.PrintDialogData_SetFromPage(*args, **kwargs)
|
||||
|
Reference in New Issue
Block a user