X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd116e73f0ad388e169676ec79cf176699956e7d..704f9c00cdcfd153e351675845da115bf2c4c89b:/wxPython/src/gtk/misc2.py diff --git a/wxPython/src/gtk/misc2.py b/wxPython/src/gtk/misc2.py index 7b26ea4b0f..1f4ddfed1e 100644 --- a/wxPython/src/gtk/misc2.py +++ b/wxPython/src/gtk/misc2.py @@ -72,6 +72,20 @@ class wxSystemSettings(wxSystemSettingsPtr): +class wxSystemOptionsPtr(wxObjectPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def __repr__(self): + return "<%s.%s instance; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) +class wxSystemOptions(wxSystemOptionsPtr): + def __init__(self,*_args,**_kwargs): + self.this = misc2c.new_wxSystemOptions(*_args,**_kwargs) + self.thisown = 1 + + + + class wxToolTipPtr(wxObjectPtr): def __init__(self,this): self.this = this @@ -1293,6 +1307,8 @@ def wxWaveData(*_args, **_kwargs): if val: val = wxWavePtr(val); val.thisown = 1 return val +wxDrawWindowOnDC = misc2c.wxDrawWindowOnDC + def wxSystemSettings_GetColour(*_args, **_kwargs): val = misc2c.wxSystemSettings_GetColour(*_args,**_kwargs) if val: val = wxColourPtr(val); val.thisown = 1 @@ -1311,6 +1327,16 @@ wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType +wxSystemOptions_SetOption = misc2c.wxSystemOptions_SetOption + +wxSystemOptions_SetOptionInt = misc2c.wxSystemOptions_SetOptionInt + +wxSystemOptions_GetOption = misc2c.wxSystemOptions_GetOption + +wxSystemOptions_GetOptionInt = misc2c.wxSystemOptions_GetOptionInt + +wxSystemOptions_HasOption = misc2c.wxSystemOptions_HasOption + wxToolTip_Enable = misc2c.wxToolTip_Enable wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay