Added wxGenericDirCtrl and other varioius updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -332,6 +332,9 @@ class wxStopWatchPtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __del__(self,misc2c=misc2c):
|
||||
if self.thisown == 1 :
|
||||
misc2c.delete_wxStopWatch(self)
|
||||
def Start(self, *_args, **_kwargs):
|
||||
val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -1151,18 +1154,6 @@ wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric
|
||||
|
||||
wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature
|
||||
|
||||
def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
|
||||
val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
|
||||
if val: val = wxColourPtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
|
||||
val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
|
||||
if val: val = wxFontPtr(val); val.thisown = 1
|
||||
return val
|
||||
|
||||
wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
|
||||
|
||||
wxToolTip_Enable = misc2c.wxToolTip_Enable
|
||||
|
||||
wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
|
||||
|
Reference in New Issue
Block a user