1 # This file was created automatically by SWIG.
4 class wxConfigBasePtr
:
5 Type_Unknown
= utilsc
.wxConfigBase_Type_Unknown
6 Type_String
= utilsc
.wxConfigBase_Type_String
7 Type_Boolean
= utilsc
.wxConfigBase_Type_Boolean
8 Type_Integer
= utilsc
.wxConfigBase_Type_Integer
9 Type_Float
= utilsc
.wxConfigBase_Type_Float
10 def __init__(self
,this
):
13 def __del__(self
,utilsc
=utilsc
):
14 if self
.thisown
== 1 :
15 utilsc
.delete_wxConfigBase(self
)
16 def DeleteAll(self
, *_args
, **_kwargs
):
17 val
= apply(utilsc
.wxConfigBase_DeleteAll
,(self
,) + _args
, _kwargs
)
19 def DeleteEntry(self
, *_args
, **_kwargs
):
20 val
= apply(utilsc
.wxConfigBase_DeleteEntry
,(self
,) + _args
, _kwargs
)
22 def DeleteGroup(self
, *_args
, **_kwargs
):
23 val
= apply(utilsc
.wxConfigBase_DeleteGroup
,(self
,) + _args
, _kwargs
)
25 def Exists(self
, *_args
, **_kwargs
):
26 val
= apply(utilsc
.wxConfigBase_Exists
,(self
,) + _args
, _kwargs
)
28 def Flush(self
, *_args
, **_kwargs
):
29 val
= apply(utilsc
.wxConfigBase_Flush
,(self
,) + _args
, _kwargs
)
31 def GetAppName(self
, *_args
, **_kwargs
):
32 val
= apply(utilsc
.wxConfigBase_GetAppName
,(self
,) + _args
, _kwargs
)
34 def GetFirstGroup(self
, *_args
, **_kwargs
):
35 val
= apply(utilsc
.wxConfigBase_GetFirstGroup
,(self
,) + _args
, _kwargs
)
37 def GetFirstEntry(self
, *_args
, **_kwargs
):
38 val
= apply(utilsc
.wxConfigBase_GetFirstEntry
,(self
,) + _args
, _kwargs
)
40 def GetNextGroup(self
, *_args
, **_kwargs
):
41 val
= apply(utilsc
.wxConfigBase_GetNextGroup
,(self
,) + _args
, _kwargs
)
43 def GetNextEntry(self
, *_args
, **_kwargs
):
44 val
= apply(utilsc
.wxConfigBase_GetNextEntry
,(self
,) + _args
, _kwargs
)
46 def GetNumberOfEntries(self
, *_args
, **_kwargs
):
47 val
= apply(utilsc
.wxConfigBase_GetNumberOfEntries
,(self
,) + _args
, _kwargs
)
49 def GetNumberOfGroups(self
, *_args
, **_kwargs
):
50 val
= apply(utilsc
.wxConfigBase_GetNumberOfGroups
,(self
,) + _args
, _kwargs
)
52 def GetPath(self
, *_args
, **_kwargs
):
53 val
= apply(utilsc
.wxConfigBase_GetPath
,(self
,) + _args
, _kwargs
)
55 def GetVendorName(self
, *_args
, **_kwargs
):
56 val
= apply(utilsc
.wxConfigBase_GetVendorName
,(self
,) + _args
, _kwargs
)
58 def HasEntry(self
, *_args
, **_kwargs
):
59 val
= apply(utilsc
.wxConfigBase_HasEntry
,(self
,) + _args
, _kwargs
)
61 def HasGroup(self
, *_args
, **_kwargs
):
62 val
= apply(utilsc
.wxConfigBase_HasGroup
,(self
,) + _args
, _kwargs
)
64 def IsExpandingEnvVars(self
, *_args
, **_kwargs
):
65 val
= apply(utilsc
.wxConfigBase_IsExpandingEnvVars
,(self
,) + _args
, _kwargs
)
67 def IsRecordingDefaults(self
, *_args
, **_kwargs
):
68 val
= apply(utilsc
.wxConfigBase_IsRecordingDefaults
,(self
,) + _args
, _kwargs
)
70 def Read(self
, *_args
, **_kwargs
):
71 val
= apply(utilsc
.wxConfigBase_Read
,(self
,) + _args
, _kwargs
)
73 def ReadInt(self
, *_args
, **_kwargs
):
74 val
= apply(utilsc
.wxConfigBase_ReadInt
,(self
,) + _args
, _kwargs
)
76 def ReadFloat(self
, *_args
, **_kwargs
):
77 val
= apply(utilsc
.wxConfigBase_ReadFloat
,(self
,) + _args
, _kwargs
)
79 def SetExpandEnvVars(self
, *_args
, **_kwargs
):
80 val
= apply(utilsc
.wxConfigBase_SetExpandEnvVars
,(self
,) + _args
, _kwargs
)
82 def SetPath(self
, *_args
, **_kwargs
):
83 val
= apply(utilsc
.wxConfigBase_SetPath
,(self
,) + _args
, _kwargs
)
85 def SetRecordDefaults(self
, *_args
, **_kwargs
):
86 val
= apply(utilsc
.wxConfigBase_SetRecordDefaults
,(self
,) + _args
, _kwargs
)
88 def SetAppName(self
, *_args
, **_kwargs
):
89 val
= apply(utilsc
.wxConfigBase_SetAppName
,(self
,) + _args
, _kwargs
)
91 def SetVendorName(self
, *_args
, **_kwargs
):
92 val
= apply(utilsc
.wxConfigBase_SetVendorName
,(self
,) + _args
, _kwargs
)
94 def SetStyle(self
, *_args
, **_kwargs
):
95 val
= apply(utilsc
.wxConfigBase_SetStyle
,(self
,) + _args
, _kwargs
)
97 def GetStyle(self
, *_args
, **_kwargs
):
98 val
= apply(utilsc
.wxConfigBase_GetStyle
,(self
,) + _args
, _kwargs
)
100 def Write(self
, *_args
, **_kwargs
):
101 val
= apply(utilsc
.wxConfigBase_Write
,(self
,) + _args
, _kwargs
)
103 def WriteInt(self
, *_args
, **_kwargs
):
104 val
= apply(utilsc
.wxConfigBase_WriteInt
,(self
,) + _args
, _kwargs
)
106 def WriteFloat(self
, *_args
, **_kwargs
):
107 val
= apply(utilsc
.wxConfigBase_WriteFloat
,(self
,) + _args
, _kwargs
)
109 def GetEntryType(self
, *_args
, **_kwargs
):
110 val
= apply(utilsc
.wxConfigBase_GetEntryType
,(self
,) + _args
, _kwargs
)
112 def RenameEntry(self
, *_args
, **_kwargs
):
113 val
= apply(utilsc
.wxConfigBase_RenameEntry
,(self
,) + _args
, _kwargs
)
115 def RenameGroup(self
, *_args
, **_kwargs
):
116 val
= apply(utilsc
.wxConfigBase_RenameGroup
,(self
,) + _args
, _kwargs
)
118 def ExpandEnvVars(self
, *_args
, **_kwargs
):
119 val
= apply(utilsc
.wxConfigBase_ExpandEnvVars
,(self
,) + _args
, _kwargs
)
122 return "<C wxConfigBase instance at %s>" % (self
.this
,)
123 class wxConfigBase(wxConfigBasePtr
):
124 def __init__(self
,this
):
130 class wxConfigPtr(wxConfigBasePtr
):
131 def __init__(self
,this
):
134 def __del__(self
,utilsc
=utilsc
):
135 if self
.thisown
== 1 :
136 utilsc
.delete_wxConfig(self
)
138 return "<C wxConfig instance at %s>" % (self
.this
,)
139 class wxConfig(wxConfigPtr
):
140 def __init__(self
,*_args
,**_kwargs
):
141 self
.this
= apply(utilsc
.new_wxConfig
,_args
,_kwargs
)
147 class wxFileConfigPtr(wxConfigBasePtr
):
148 def __init__(self
,this
):
151 def __del__(self
,utilsc
=utilsc
):
152 if self
.thisown
== 1 :
153 utilsc
.delete_wxFileConfig(self
)
155 return "<C wxFileConfig instance at %s>" % (self
.this
,)
156 class wxFileConfig(wxFileConfigPtr
):
157 def __init__(self
,*_args
,**_kwargs
):
158 self
.this
= apply(utilsc
.new_wxFileConfig
,_args
,_kwargs
)
164 class wxDateTimePtr
:
165 Local
= utilsc
.wxDateTime_Local
166 GMT_12
= utilsc
.wxDateTime_GMT_12
167 GMT_11
= utilsc
.wxDateTime_GMT_11
168 GMT_10
= utilsc
.wxDateTime_GMT_10
169 GMT_9
= utilsc
.wxDateTime_GMT_9
170 GMT_8
= utilsc
.wxDateTime_GMT_8
171 GMT_7
= utilsc
.wxDateTime_GMT_7
172 GMT_6
= utilsc
.wxDateTime_GMT_6
173 GMT_5
= utilsc
.wxDateTime_GMT_5
174 GMT_4
= utilsc
.wxDateTime_GMT_4
175 GMT_3
= utilsc
.wxDateTime_GMT_3
176 GMT_2
= utilsc
.wxDateTime_GMT_2
177 GMT_1
= utilsc
.wxDateTime_GMT_1
178 GMT0
= utilsc
.wxDateTime_GMT0
179 GMT1
= utilsc
.wxDateTime_GMT1
180 GMT2
= utilsc
.wxDateTime_GMT2
181 GMT3
= utilsc
.wxDateTime_GMT3
182 GMT4
= utilsc
.wxDateTime_GMT4
183 GMT5
= utilsc
.wxDateTime_GMT5
184 GMT6
= utilsc
.wxDateTime_GMT6
185 GMT7
= utilsc
.wxDateTime_GMT7
186 GMT8
= utilsc
.wxDateTime_GMT8
187 GMT9
= utilsc
.wxDateTime_GMT9
188 GMT10
= utilsc
.wxDateTime_GMT10
189 GMT11
= utilsc
.wxDateTime_GMT11
190 GMT12
= utilsc
.wxDateTime_GMT12
191 WET
= utilsc
.wxDateTime_WET
192 WEST
= utilsc
.wxDateTime_WEST
193 CET
= utilsc
.wxDateTime_CET
194 CEST
= utilsc
.wxDateTime_CEST
195 EET
= utilsc
.wxDateTime_EET
196 EEST
= utilsc
.wxDateTime_EEST
197 MSK
= utilsc
.wxDateTime_MSK
198 MSD
= utilsc
.wxDateTime_MSD
199 AST
= utilsc
.wxDateTime_AST
200 ADT
= utilsc
.wxDateTime_ADT
201 EST
= utilsc
.wxDateTime_EST
202 EDT
= utilsc
.wxDateTime_EDT
203 CST
= utilsc
.wxDateTime_CST
204 CDT
= utilsc
.wxDateTime_CDT
205 MST
= utilsc
.wxDateTime_MST
206 MDT
= utilsc
.wxDateTime_MDT
207 PST
= utilsc
.wxDateTime_PST
208 PDT
= utilsc
.wxDateTime_PDT
209 HST
= utilsc
.wxDateTime_HST
210 AKST
= utilsc
.wxDateTime_AKST
211 AKDT
= utilsc
.wxDateTime_AKDT
212 A_WST
= utilsc
.wxDateTime_A_WST
213 A_CST
= utilsc
.wxDateTime_A_CST
214 A_EST
= utilsc
.wxDateTime_A_EST
215 A_ESST
= utilsc
.wxDateTime_A_ESST
216 UTC
= utilsc
.wxDateTime_UTC
217 Gregorian
= utilsc
.wxDateTime_Gregorian
218 Julian
= utilsc
.wxDateTime_Julian
219 Country_Unknown
= utilsc
.wxDateTime_Country_Unknown
220 Country_Default
= utilsc
.wxDateTime_Country_Default
221 Country_WesternEurope_Start
= utilsc
.wxDateTime_Country_WesternEurope_Start
222 Country_EEC
= utilsc
.wxDateTime_Country_EEC
223 France
= utilsc
.wxDateTime_France
224 Germany
= utilsc
.wxDateTime_Germany
225 UK
= utilsc
.wxDateTime_UK
226 Country_WesternEurope_End
= utilsc
.wxDateTime_Country_WesternEurope_End
227 Russia
= utilsc
.wxDateTime_Russia
228 USA
= utilsc
.wxDateTime_USA
229 Jan
= utilsc
.wxDateTime_Jan
230 Feb
= utilsc
.wxDateTime_Feb
231 Mar
= utilsc
.wxDateTime_Mar
232 Apr
= utilsc
.wxDateTime_Apr
233 May
= utilsc
.wxDateTime_May
234 Jun
= utilsc
.wxDateTime_Jun
235 Jul
= utilsc
.wxDateTime_Jul
236 Aug
= utilsc
.wxDateTime_Aug
237 Sep
= utilsc
.wxDateTime_Sep
238 Oct
= utilsc
.wxDateTime_Oct
239 Nov
= utilsc
.wxDateTime_Nov
240 Dec
= utilsc
.wxDateTime_Dec
241 Inv_Month
= utilsc
.wxDateTime_Inv_Month
242 Sun
= utilsc
.wxDateTime_Sun
243 Mon
= utilsc
.wxDateTime_Mon
244 Tue
= utilsc
.wxDateTime_Tue
245 Wed
= utilsc
.wxDateTime_Wed
246 Thu
= utilsc
.wxDateTime_Thu
247 Fri
= utilsc
.wxDateTime_Fri
248 Sat
= utilsc
.wxDateTime_Sat
249 Inv_WeekDay
= utilsc
.wxDateTime_Inv_WeekDay
250 Inv_Year
= utilsc
.wxDateTime_Inv_Year
251 Name_Full
= utilsc
.wxDateTime_Name_Full
252 Name_Abbr
= utilsc
.wxDateTime_Name_Abbr
253 Default_First
= utilsc
.wxDateTime_Default_First
254 Monday_First
= utilsc
.wxDateTime_Monday_First
255 Sunday_First
= utilsc
.wxDateTime_Sunday_First
256 def __init__(self
,this
):
259 def __del__(self
,utilsc
=utilsc
):
260 if self
.thisown
== 1 :
261 utilsc
.delete_wxDateTime(self
)
262 def SetToCurrent(self
, *_args
, **_kwargs
):
263 val
= apply(utilsc
.wxDateTime_SetToCurrent
,(self
,) + _args
, _kwargs
)
264 if val
: val
= wxDateTimePtr(val
)
266 def SetTimeT(self
, *_args
, **_kwargs
):
267 val
= apply(utilsc
.wxDateTime_SetTimeT
,(self
,) + _args
, _kwargs
)
268 if val
: val
= wxDateTimePtr(val
)
270 def SetJDN(self
, *_args
, **_kwargs
):
271 val
= apply(utilsc
.wxDateTime_SetJDN
,(self
,) + _args
, _kwargs
)
272 if val
: val
= wxDateTimePtr(val
)
274 def SetHMS(self
, *_args
, **_kwargs
):
275 val
= apply(utilsc
.wxDateTime_SetHMS
,(self
,) + _args
, _kwargs
)
276 if val
: val
= wxDateTimePtr(val
)
278 def Set(self
, *_args
, **_kwargs
):
279 val
= apply(utilsc
.wxDateTime_Set
,(self
,) + _args
, _kwargs
)
280 if val
: val
= wxDateTimePtr(val
)
282 def ResetTime(self
, *_args
, **_kwargs
):
283 val
= apply(utilsc
.wxDateTime_ResetTime
,(self
,) + _args
, _kwargs
)
284 if val
: val
= wxDateTimePtr(val
)
286 def SetYear(self
, *_args
, **_kwargs
):
287 val
= apply(utilsc
.wxDateTime_SetYear
,(self
,) + _args
, _kwargs
)
288 if val
: val
= wxDateTimePtr(val
)
290 def SetMonth(self
, *_args
, **_kwargs
):
291 val
= apply(utilsc
.wxDateTime_SetMonth
,(self
,) + _args
, _kwargs
)
292 if val
: val
= wxDateTimePtr(val
)
294 def SetDay(self
, *_args
, **_kwargs
):
295 val
= apply(utilsc
.wxDateTime_SetDay
,(self
,) + _args
, _kwargs
)
296 if val
: val
= wxDateTimePtr(val
)
298 def SetHour(self
, *_args
, **_kwargs
):
299 val
= apply(utilsc
.wxDateTime_SetHour
,(self
,) + _args
, _kwargs
)
300 if val
: val
= wxDateTimePtr(val
)
302 def SetMinute(self
, *_args
, **_kwargs
):
303 val
= apply(utilsc
.wxDateTime_SetMinute
,(self
,) + _args
, _kwargs
)
304 if val
: val
= wxDateTimePtr(val
)
306 def SetSecond(self
, *_args
, **_kwargs
):
307 val
= apply(utilsc
.wxDateTime_SetSecond
,(self
,) + _args
, _kwargs
)
308 if val
: val
= wxDateTimePtr(val
)
310 def SetMillisecond(self
, *_args
, **_kwargs
):
311 val
= apply(utilsc
.wxDateTime_SetMillisecond
,(self
,) + _args
, _kwargs
)
312 if val
: val
= wxDateTimePtr(val
)
314 def SetToWeekDayInSameWeek(self
, *_args
, **_kwargs
):
315 val
= apply(utilsc
.wxDateTime_SetToWeekDayInSameWeek
,(self
,) + _args
, _kwargs
)
316 if val
: val
= wxDateTimePtr(val
)
318 def GetWeekDayInSameWeek(self
, *_args
, **_kwargs
):
319 val
= apply(utilsc
.wxDateTime_GetWeekDayInSameWeek
,(self
,) + _args
, _kwargs
)
320 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
322 def SetToNextWeekDay(self
, *_args
, **_kwargs
):
323 val
= apply(utilsc
.wxDateTime_SetToNextWeekDay
,(self
,) + _args
, _kwargs
)
324 if val
: val
= wxDateTimePtr(val
)
326 def GetNextWeekDay(self
, *_args
, **_kwargs
):
327 val
= apply(utilsc
.wxDateTime_GetNextWeekDay
,(self
,) + _args
, _kwargs
)
328 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
330 def SetToPrevWeekDay(self
, *_args
, **_kwargs
):
331 val
= apply(utilsc
.wxDateTime_SetToPrevWeekDay
,(self
,) + _args
, _kwargs
)
332 if val
: val
= wxDateTimePtr(val
)
334 def GetPrevWeekDay(self
, *_args
, **_kwargs
):
335 val
= apply(utilsc
.wxDateTime_GetPrevWeekDay
,(self
,) + _args
, _kwargs
)
336 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
338 def SetToWeekDay(self
, *_args
, **_kwargs
):
339 val
= apply(utilsc
.wxDateTime_SetToWeekDay
,(self
,) + _args
, _kwargs
)
341 def GetWeekDay(self
, *_args
, **_kwargs
):
342 val
= apply(utilsc
.wxDateTime_GetWeekDay
,(self
,) + _args
, _kwargs
)
343 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
345 def SetToLastWeekDay(self
, *_args
, **_kwargs
):
346 val
= apply(utilsc
.wxDateTime_SetToLastWeekDay
,(self
,) + _args
, _kwargs
)
348 def GetLastWeekDay(self
, *_args
, **_kwargs
):
349 val
= apply(utilsc
.wxDateTime_GetLastWeekDay
,(self
,) + _args
, _kwargs
)
350 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
352 def SetToTheWeek(self
, *_args
, **_kwargs
):
353 val
= apply(utilsc
.wxDateTime_SetToTheWeek
,(self
,) + _args
, _kwargs
)
355 def GetWeek(self
, *_args
, **_kwargs
):
356 val
= apply(utilsc
.wxDateTime_GetWeek
,(self
,) + _args
, _kwargs
)
357 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
359 def SetToLastMonthDay(self
, *_args
, **_kwargs
):
360 val
= apply(utilsc
.wxDateTime_SetToLastMonthDay
,(self
,) + _args
, _kwargs
)
361 if val
: val
= wxDateTimePtr(val
)
363 def GetLastMonthDay(self
, *_args
, **_kwargs
):
364 val
= apply(utilsc
.wxDateTime_GetLastMonthDay
,(self
,) + _args
, _kwargs
)
365 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
367 def SetToYearDay(self
, *_args
, **_kwargs
):
368 val
= apply(utilsc
.wxDateTime_SetToYearDay
,(self
,) + _args
, _kwargs
)
369 if val
: val
= wxDateTimePtr(val
)
371 def GetYearDay(self
, *_args
, **_kwargs
):
372 val
= apply(utilsc
.wxDateTime_GetYearDay
,(self
,) + _args
, _kwargs
)
373 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
375 def GetJulianDayNumber(self
, *_args
, **_kwargs
):
376 val
= apply(utilsc
.wxDateTime_GetJulianDayNumber
,(self
,) + _args
, _kwargs
)
378 def GetJDN(self
, *_args
, **_kwargs
):
379 val
= apply(utilsc
.wxDateTime_GetJDN
,(self
,) + _args
, _kwargs
)
381 def GetModifiedJulianDayNumber(self
, *_args
, **_kwargs
):
382 val
= apply(utilsc
.wxDateTime_GetModifiedJulianDayNumber
,(self
,) + _args
, _kwargs
)
384 def GetMJD(self
, *_args
, **_kwargs
):
385 val
= apply(utilsc
.wxDateTime_GetMJD
,(self
,) + _args
, _kwargs
)
387 def GetRataDie(self
, *_args
, **_kwargs
):
388 val
= apply(utilsc
.wxDateTime_GetRataDie
,(self
,) + _args
, _kwargs
)
390 def ToTimezone(self
, *_args
, **_kwargs
):
391 val
= apply(utilsc
.wxDateTime_ToTimezone
,(self
,) + _args
, _kwargs
)
392 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
394 def MakeTimezone(self
, *_args
, **_kwargs
):
395 val
= apply(utilsc
.wxDateTime_MakeTimezone
,(self
,) + _args
, _kwargs
)
396 if val
: val
= wxDateTimePtr(val
)
398 def ToGMT(self
, *_args
, **_kwargs
):
399 val
= apply(utilsc
.wxDateTime_ToGMT
,(self
,) + _args
, _kwargs
)
400 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
402 def MakeGMT(self
, *_args
, **_kwargs
):
403 val
= apply(utilsc
.wxDateTime_MakeGMT
,(self
,) + _args
, _kwargs
)
404 if val
: val
= wxDateTimePtr(val
)
406 def IsDST(self
, *_args
, **_kwargs
):
407 val
= apply(utilsc
.wxDateTime_IsDST
,(self
,) + _args
, _kwargs
)
409 def IsValid(self
, *_args
, **_kwargs
):
410 val
= apply(utilsc
.wxDateTime_IsValid
,(self
,) + _args
, _kwargs
)
412 def GetTicks(self
, *_args
, **_kwargs
):
413 val
= apply(utilsc
.wxDateTime_GetTicks
,(self
,) + _args
, _kwargs
)
415 def GetYear(self
, *_args
, **_kwargs
):
416 val
= apply(utilsc
.wxDateTime_GetYear
,(self
,) + _args
, _kwargs
)
418 def GetMonth(self
, *_args
, **_kwargs
):
419 val
= apply(utilsc
.wxDateTime_GetMonth
,(self
,) + _args
, _kwargs
)
421 def GetDay(self
, *_args
, **_kwargs
):
422 val
= apply(utilsc
.wxDateTime_GetDay
,(self
,) + _args
, _kwargs
)
424 def GetHour(self
, *_args
, **_kwargs
):
425 val
= apply(utilsc
.wxDateTime_GetHour
,(self
,) + _args
, _kwargs
)
427 def GetMinute(self
, *_args
, **_kwargs
):
428 val
= apply(utilsc
.wxDateTime_GetMinute
,(self
,) + _args
, _kwargs
)
430 def GetSecond(self
, *_args
, **_kwargs
):
431 val
= apply(utilsc
.wxDateTime_GetSecond
,(self
,) + _args
, _kwargs
)
433 def GetMillisecond(self
, *_args
, **_kwargs
):
434 val
= apply(utilsc
.wxDateTime_GetMillisecond
,(self
,) + _args
, _kwargs
)
436 def GetDayOfYear(self
, *_args
, **_kwargs
):
437 val
= apply(utilsc
.wxDateTime_GetDayOfYear
,(self
,) + _args
, _kwargs
)
439 def GetWeekOfYear(self
, *_args
, **_kwargs
):
440 val
= apply(utilsc
.wxDateTime_GetWeekOfYear
,(self
,) + _args
, _kwargs
)
442 def GetWeekOfMonth(self
, *_args
, **_kwargs
):
443 val
= apply(utilsc
.wxDateTime_GetWeekOfMonth
,(self
,) + _args
, _kwargs
)
445 def IsWorkDay(self
, *_args
, **_kwargs
):
446 val
= apply(utilsc
.wxDateTime_IsWorkDay
,(self
,) + _args
, _kwargs
)
448 def IsEqualTo(self
, *_args
, **_kwargs
):
449 val
= apply(utilsc
.wxDateTime_IsEqualTo
,(self
,) + _args
, _kwargs
)
451 def IsEarlierThan(self
, *_args
, **_kwargs
):
452 val
= apply(utilsc
.wxDateTime_IsEarlierThan
,(self
,) + _args
, _kwargs
)
454 def IsLaterThan(self
, *_args
, **_kwargs
):
455 val
= apply(utilsc
.wxDateTime_IsLaterThan
,(self
,) + _args
, _kwargs
)
457 def IsStrictlyBetween(self
, *_args
, **_kwargs
):
458 val
= apply(utilsc
.wxDateTime_IsStrictlyBetween
,(self
,) + _args
, _kwargs
)
460 def IsBetween(self
, *_args
, **_kwargs
):
461 val
= apply(utilsc
.wxDateTime_IsBetween
,(self
,) + _args
, _kwargs
)
463 def IsSameDate(self
, *_args
, **_kwargs
):
464 val
= apply(utilsc
.wxDateTime_IsSameDate
,(self
,) + _args
, _kwargs
)
466 def IsSameTime(self
, *_args
, **_kwargs
):
467 val
= apply(utilsc
.wxDateTime_IsSameTime
,(self
,) + _args
, _kwargs
)
469 def IsEqualUpTo(self
, *_args
, **_kwargs
):
470 val
= apply(utilsc
.wxDateTime_IsEqualUpTo
,(self
,) + _args
, _kwargs
)
472 def AddTS(self
, *_args
, **_kwargs
):
473 val
= apply(utilsc
.wxDateTime_AddTS
,(self
,) + _args
, _kwargs
)
474 if val
: val
= wxDateTimePtr(val
)
476 def AddDS(self
, *_args
, **_kwargs
):
477 val
= apply(utilsc
.wxDateTime_AddDS
,(self
,) + _args
, _kwargs
)
478 if val
: val
= wxDateTimePtr(val
)
480 def SubtractTS(self
, *_args
, **_kwargs
):
481 val
= apply(utilsc
.wxDateTime_SubtractTS
,(self
,) + _args
, _kwargs
)
482 if val
: val
= wxDateTimePtr(val
)
484 def SubtractDS(self
, *_args
, **_kwargs
):
485 val
= apply(utilsc
.wxDateTime_SubtractDS
,(self
,) + _args
, _kwargs
)
486 if val
: val
= wxDateTimePtr(val
)
488 def Subtract(self
, *_args
, **_kwargs
):
489 val
= apply(utilsc
.wxDateTime_Subtract
,(self
,) + _args
, _kwargs
)
490 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
492 def __add__TS(self
, *_args
, **_kwargs
):
493 val
= apply(utilsc
.wxDateTime___add__TS
,(self
,) + _args
, _kwargs
)
494 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
496 def __add__DS(self
, *_args
, **_kwargs
):
497 val
= apply(utilsc
.wxDateTime___add__DS
,(self
,) + _args
, _kwargs
)
498 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
500 def __sub__DT(self
, *_args
, **_kwargs
):
501 val
= apply(utilsc
.wxDateTime___sub__DT
,(self
,) + _args
, _kwargs
)
502 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
504 def __sub__TS(self
, *_args
, **_kwargs
):
505 val
= apply(utilsc
.wxDateTime___sub__TS
,(self
,) + _args
, _kwargs
)
506 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
508 def __sub__DS(self
, *_args
, **_kwargs
):
509 val
= apply(utilsc
.wxDateTime___sub__DS
,(self
,) + _args
, _kwargs
)
510 if val
: val
= wxDateTimePtr(val
) ; val
.thisown
= 1
512 def __cmp__(self
, *_args
, **_kwargs
):
513 val
= apply(utilsc
.wxDateTime___cmp__
,(self
,) + _args
, _kwargs
)
515 def ParseRfc822Date(self
, *_args
, **_kwargs
):
516 val
= apply(utilsc
.wxDateTime_ParseRfc822Date
,(self
,) + _args
, _kwargs
)
518 def ParseFormat(self
, *_args
, **_kwargs
):
519 val
= apply(utilsc
.wxDateTime_ParseFormat
,(self
,) + _args
, _kwargs
)
521 def ParseDateTime(self
, *_args
, **_kwargs
):
522 val
= apply(utilsc
.wxDateTime_ParseDateTime
,(self
,) + _args
, _kwargs
)
524 def ParseDate(self
, *_args
, **_kwargs
):
525 val
= apply(utilsc
.wxDateTime_ParseDate
,(self
,) + _args
, _kwargs
)
527 def ParseTime(self
, *_args
, **_kwargs
):
528 val
= apply(utilsc
.wxDateTime_ParseTime
,(self
,) + _args
, _kwargs
)
530 def Format(self
, *_args
, **_kwargs
):
531 val
= apply(utilsc
.wxDateTime_Format
,(self
,) + _args
, _kwargs
)
533 def FormatDate(self
, *_args
, **_kwargs
):
534 val
= apply(utilsc
.wxDateTime_FormatDate
,(self
,) + _args
, _kwargs
)
536 def FormatTime(self
, *_args
, **_kwargs
):
537 val
= apply(utilsc
.wxDateTime_FormatTime
,(self
,) + _args
, _kwargs
)
539 def FormatISODate(self
, *_args
, **_kwargs
):
540 val
= apply(utilsc
.wxDateTime_FormatISODate
,(self
,) + _args
, _kwargs
)
542 def FormatISOTime(self
, *_args
, **_kwargs
):
543 val
= apply(utilsc
.wxDateTime_FormatISOTime
,(self
,) + _args
, _kwargs
)
546 return "<C wxDateTime instance at %s>" % (self
.this
,)
548 def __add__(self
, other
):
549 if string
.find(other
.this
, 'wxTimeSpan') != -1:
550 return self
.__add
__TS
(other
)
551 if string
.find(other
.this
, 'wxDateSpan') != -1:
552 return self
.__add
__DS
(other
)
553 raise TypeError, 'Invalid r.h.s. type for __add__'
554 def __sub__(self
, other
):
555 if string
.find(other
.this
, 'wxDateTime') != -1:
556 return self
.__sub
__DT
(other
)
557 if string
.find(other
.this
, 'wxTimeSpan') != -1:
558 return self
.__sub
__TS
(other
)
559 if string
.find(other
.this
, 'wxDateSpan') != -1:
560 return self
.__sub
__DS
(other
)
561 raise TypeError, 'Invalid r.h.s. type for __sub__'
565 return '<wxDateTime: \"%s\" at %s>' % ( self
.Format(), self
.this
)
569 class wxDateTime(wxDateTimePtr
):
570 def __init__(self
,*_args
,**_kwargs
):
571 self
.this
= apply(utilsc
.new_wxDateTime
,_args
,_kwargs
)
576 def wxDateTimeFromTimeT(*_args
,**_kwargs
):
577 val
= wxDateTimePtr(apply(utilsc
.new_wxDateTimeFromTimeT
,_args
,_kwargs
))
581 def wxDateTimeFromJDN(*_args
,**_kwargs
):
582 val
= wxDateTimePtr(apply(utilsc
.new_wxDateTimeFromJDN
,_args
,_kwargs
))
586 def wxDateTimeFromHMS(*_args
,**_kwargs
):
587 val
= wxDateTimePtr(apply(utilsc
.new_wxDateTimeFromHMS
,_args
,_kwargs
))
591 def wxDateTimeFromDMY(*_args
,**_kwargs
):
592 val
= wxDateTimePtr(apply(utilsc
.new_wxDateTimeFromDMY
,_args
,_kwargs
))
597 class wxTimeSpanPtr
:
598 def __init__(self
,this
):
601 def __del__(self
,utilsc
=utilsc
):
602 if self
.thisown
== 1 :
603 utilsc
.delete_wxTimeSpan(self
)
604 def Add(self
, *_args
, **_kwargs
):
605 val
= apply(utilsc
.wxTimeSpan_Add
,(self
,) + _args
, _kwargs
)
606 if val
: val
= wxTimeSpanPtr(val
)
608 def Subtract(self
, *_args
, **_kwargs
):
609 val
= apply(utilsc
.wxTimeSpan_Subtract
,(self
,) + _args
, _kwargs
)
610 if val
: val
= wxTimeSpanPtr(val
)
612 def Multiply(self
, *_args
, **_kwargs
):
613 val
= apply(utilsc
.wxTimeSpan_Multiply
,(self
,) + _args
, _kwargs
)
614 if val
: val
= wxTimeSpanPtr(val
)
616 def Neg(self
, *_args
, **_kwargs
):
617 val
= apply(utilsc
.wxTimeSpan_Neg
,(self
,) + _args
, _kwargs
)
618 if val
: val
= wxTimeSpanPtr(val
)
620 def Abs(self
, *_args
, **_kwargs
):
621 val
= apply(utilsc
.wxTimeSpan_Abs
,(self
,) + _args
, _kwargs
)
622 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
624 def __add__(self
, *_args
, **_kwargs
):
625 val
= apply(utilsc
.wxTimeSpan___add__
,(self
,) + _args
, _kwargs
)
626 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
628 def __sub__(self
, *_args
, **_kwargs
):
629 val
= apply(utilsc
.wxTimeSpan___sub__
,(self
,) + _args
, _kwargs
)
630 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
632 def __mul__(self
, *_args
, **_kwargs
):
633 val
= apply(utilsc
.wxTimeSpan___mul__
,(self
,) + _args
, _kwargs
)
634 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
636 def __rmul__(self
, *_args
, **_kwargs
):
637 val
= apply(utilsc
.wxTimeSpan___rmul__
,(self
,) + _args
, _kwargs
)
638 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
640 def __neg__(self
, *_args
, **_kwargs
):
641 val
= apply(utilsc
.wxTimeSpan___neg__
,(self
,) + _args
, _kwargs
)
642 if val
: val
= wxTimeSpanPtr(val
) ; val
.thisown
= 1
644 def __cmp__(self
, *_args
, **_kwargs
):
645 val
= apply(utilsc
.wxTimeSpan___cmp__
,(self
,) + _args
, _kwargs
)
647 def IsNull(self
, *_args
, **_kwargs
):
648 val
= apply(utilsc
.wxTimeSpan_IsNull
,(self
,) + _args
, _kwargs
)
650 def IsPositive(self
, *_args
, **_kwargs
):
651 val
= apply(utilsc
.wxTimeSpan_IsPositive
,(self
,) + _args
, _kwargs
)
653 def IsNegative(self
, *_args
, **_kwargs
):
654 val
= apply(utilsc
.wxTimeSpan_IsNegative
,(self
,) + _args
, _kwargs
)
656 def IsEqualTo(self
, *_args
, **_kwargs
):
657 val
= apply(utilsc
.wxTimeSpan_IsEqualTo
,(self
,) + _args
, _kwargs
)
659 def IsLongerThan(self
, *_args
, **_kwargs
):
660 val
= apply(utilsc
.wxTimeSpan_IsLongerThan
,(self
,) + _args
, _kwargs
)
662 def IsShorterThan(self
, *_args
, **_kwargs
):
663 val
= apply(utilsc
.wxTimeSpan_IsShorterThan
,(self
,) + _args
, _kwargs
)
665 def GetWeeks(self
, *_args
, **_kwargs
):
666 val
= apply(utilsc
.wxTimeSpan_GetWeeks
,(self
,) + _args
, _kwargs
)
668 def GetDays(self
, *_args
, **_kwargs
):
669 val
= apply(utilsc
.wxTimeSpan_GetDays
,(self
,) + _args
, _kwargs
)
671 def GetHours(self
, *_args
, **_kwargs
):
672 val
= apply(utilsc
.wxTimeSpan_GetHours
,(self
,) + _args
, _kwargs
)
674 def GetMinutes(self
, *_args
, **_kwargs
):
675 val
= apply(utilsc
.wxTimeSpan_GetMinutes
,(self
,) + _args
, _kwargs
)
677 def GetSeconds(self
, *_args
, **_kwargs
):
678 val
= apply(utilsc
.wxTimeSpan_GetSeconds
,(self
,) + _args
, _kwargs
)
680 def GetMilliseconds(self
, *_args
, **_kwargs
):
681 val
= apply(utilsc
.wxTimeSpan_GetMilliseconds
,(self
,) + _args
, _kwargs
)
683 def Format(self
, *_args
, **_kwargs
):
684 val
= apply(utilsc
.wxTimeSpan_Format
,(self
,) + _args
, _kwargs
)
687 return "<C wxTimeSpan instance at %s>" % (self
.this
,)
688 class wxTimeSpan(wxTimeSpanPtr
):
689 def __init__(self
,*_args
,**_kwargs
):
690 self
.this
= apply(utilsc
.new_wxTimeSpan
,_args
,_kwargs
)
696 class wxDateSpanPtr
:
697 def __init__(self
,this
):
700 def __del__(self
,utilsc
=utilsc
):
701 if self
.thisown
== 1 :
702 utilsc
.delete_wxDateSpan(self
)
703 def SetYears(self
, *_args
, **_kwargs
):
704 val
= apply(utilsc
.wxDateSpan_SetYears
,(self
,) + _args
, _kwargs
)
705 if val
: val
= wxDateSpanPtr(val
)
707 def SetMonths(self
, *_args
, **_kwargs
):
708 val
= apply(utilsc
.wxDateSpan_SetMonths
,(self
,) + _args
, _kwargs
)
709 if val
: val
= wxDateSpanPtr(val
)
711 def SetWeeks(self
, *_args
, **_kwargs
):
712 val
= apply(utilsc
.wxDateSpan_SetWeeks
,(self
,) + _args
, _kwargs
)
713 if val
: val
= wxDateSpanPtr(val
)
715 def SetDays(self
, *_args
, **_kwargs
):
716 val
= apply(utilsc
.wxDateSpan_SetDays
,(self
,) + _args
, _kwargs
)
717 if val
: val
= wxDateSpanPtr(val
)
719 def GetYears(self
, *_args
, **_kwargs
):
720 val
= apply(utilsc
.wxDateSpan_GetYears
,(self
,) + _args
, _kwargs
)
722 def GetMonths(self
, *_args
, **_kwargs
):
723 val
= apply(utilsc
.wxDateSpan_GetMonths
,(self
,) + _args
, _kwargs
)
725 def GetWeeks(self
, *_args
, **_kwargs
):
726 val
= apply(utilsc
.wxDateSpan_GetWeeks
,(self
,) + _args
, _kwargs
)
728 def GetDays(self
, *_args
, **_kwargs
):
729 val
= apply(utilsc
.wxDateSpan_GetDays
,(self
,) + _args
, _kwargs
)
731 def GetTotalDays(self
, *_args
, **_kwargs
):
732 val
= apply(utilsc
.wxDateSpan_GetTotalDays
,(self
,) + _args
, _kwargs
)
734 def Add(self
, *_args
, **_kwargs
):
735 val
= apply(utilsc
.wxDateSpan_Add
,(self
,) + _args
, _kwargs
)
736 if val
: val
= wxDateSpanPtr(val
)
738 def Subtract(self
, *_args
, **_kwargs
):
739 val
= apply(utilsc
.wxDateSpan_Subtract
,(self
,) + _args
, _kwargs
)
740 if val
: val
= wxDateSpanPtr(val
)
742 def Neg(self
, *_args
, **_kwargs
):
743 val
= apply(utilsc
.wxDateSpan_Neg
,(self
,) + _args
, _kwargs
)
744 if val
: val
= wxDateSpanPtr(val
)
746 def Multiply(self
, *_args
, **_kwargs
):
747 val
= apply(utilsc
.wxDateSpan_Multiply
,(self
,) + _args
, _kwargs
)
748 if val
: val
= wxDateSpanPtr(val
)
750 def __add__(self
, *_args
, **_kwargs
):
751 val
= apply(utilsc
.wxDateSpan___add__
,(self
,) + _args
, _kwargs
)
752 if val
: val
= wxDateSpanPtr(val
) ; val
.thisown
= 1
754 def __sub__(self
, *_args
, **_kwargs
):
755 val
= apply(utilsc
.wxDateSpan___sub__
,(self
,) + _args
, _kwargs
)
756 if val
: val
= wxDateSpanPtr(val
) ; val
.thisown
= 1
758 def __mul__(self
, *_args
, **_kwargs
):
759 val
= apply(utilsc
.wxDateSpan___mul__
,(self
,) + _args
, _kwargs
)
760 if val
: val
= wxDateSpanPtr(val
) ; val
.thisown
= 1
762 def __rmul__(self
, *_args
, **_kwargs
):
763 val
= apply(utilsc
.wxDateSpan___rmul__
,(self
,) + _args
, _kwargs
)
764 if val
: val
= wxDateSpanPtr(val
) ; val
.thisown
= 1
766 def __neg__(self
, *_args
, **_kwargs
):
767 val
= apply(utilsc
.wxDateSpan___neg__
,(self
,) + _args
, _kwargs
)
768 if val
: val
= wxDateSpanPtr(val
) ; val
.thisown
= 1
771 return "<C wxDateSpan instance at %s>" % (self
.this
,)
772 class wxDateSpan(wxDateSpanPtr
):
773 def __init__(self
,*_args
,**_kwargs
):
774 self
.this
= apply(utilsc
.new_wxDateSpan
,_args
,_kwargs
)
782 #-------------- FUNCTION WRAPPERS ------------------
784 wxGetLocalTime
= utilsc
.wxGetLocalTime
786 wxGetUTCTime
= utilsc
.wxGetUTCTime
788 wxGetCurrentTime
= utilsc
.wxGetCurrentTime
790 wxGetLocalTimeMillis
= utilsc
.wxGetLocalTimeMillis
792 def wxConfigBase_Set(*_args
, **_kwargs
):
793 val
= apply(utilsc
.wxConfigBase_Set
,_args
,_kwargs
)
794 if val
: val
= wxConfigBasePtr(val
)
797 def wxConfigBase_Get(*_args
, **_kwargs
):
798 val
= apply(utilsc
.wxConfigBase_Get
,_args
,_kwargs
)
799 if val
: val
= wxConfigBasePtr(val
)
802 def wxConfigBase_Create(*_args
, **_kwargs
):
803 val
= apply(utilsc
.wxConfigBase_Create
,_args
,_kwargs
)
804 if val
: val
= wxConfigBasePtr(val
)
807 wxConfigBase_DontCreateOnDemand
= utilsc
.wxConfigBase_DontCreateOnDemand
809 wxDateTime_SetCountry
= utilsc
.wxDateTime_SetCountry
811 wxDateTime_GetCountry
= utilsc
.wxDateTime_GetCountry
813 wxDateTime_IsWestEuropeanCountry
= utilsc
.wxDateTime_IsWestEuropeanCountry
815 wxDateTime_GetCurrentYear
= utilsc
.wxDateTime_GetCurrentYear
817 wxDateTime_ConvertYearToBC
= utilsc
.wxDateTime_ConvertYearToBC
819 wxDateTime_GetCurrentMonth
= utilsc
.wxDateTime_GetCurrentMonth
821 wxDateTime_IsLeapYear
= utilsc
.wxDateTime_IsLeapYear
823 wxDateTime_GetCentury
= utilsc
.wxDateTime_GetCentury
825 wxDateTime_GetNumberOfDaysinYear
= utilsc
.wxDateTime_GetNumberOfDaysinYear
827 wxDateTime_GetNumberOfDaysInMonth
= utilsc
.wxDateTime_GetNumberOfDaysInMonth
829 wxDateTime_GetMonthName
= utilsc
.wxDateTime_GetMonthName
831 wxDateTime_GetWeekDayName
= utilsc
.wxDateTime_GetWeekDayName
833 wxDateTime_GetAmPmStrings
= utilsc
.wxDateTime_GetAmPmStrings
835 wxDateTime_IsDSTApplicable
= utilsc
.wxDateTime_IsDSTApplicable
837 def wxDateTime_GetBeginDST(*_args
, **_kwargs
):
838 val
= apply(utilsc
.wxDateTime_GetBeginDST
,_args
,_kwargs
)
839 if val
: val
= wxDateTimePtr(val
); val
.thisown
= 1
842 def wxDateTime_GetEndDST(*_args
, **_kwargs
):
843 val
= apply(utilsc
.wxDateTime_GetEndDST
,_args
,_kwargs
)
844 if val
: val
= wxDateTimePtr(val
); val
.thisown
= 1
847 def wxDateTime_Now(*_args
, **_kwargs
):
848 val
= apply(utilsc
.wxDateTime_Now
,_args
,_kwargs
)
849 if val
: val
= wxDateTimePtr(val
); val
.thisown
= 1
852 def wxDateTime_Today(*_args
, **_kwargs
):
853 val
= apply(utilsc
.wxDateTime_Today
,_args
,_kwargs
)
854 if val
: val
= wxDateTimePtr(val
); val
.thisown
= 1
857 def wxTimeSpan_Seconds(*_args
, **_kwargs
):
858 val
= apply(utilsc
.wxTimeSpan_Seconds
,_args
,_kwargs
)
859 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
862 def wxTimeSpan_Second(*_args
, **_kwargs
):
863 val
= apply(utilsc
.wxTimeSpan_Second
,_args
,_kwargs
)
864 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
867 def wxTimeSpan_Minutes(*_args
, **_kwargs
):
868 val
= apply(utilsc
.wxTimeSpan_Minutes
,_args
,_kwargs
)
869 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
872 def wxTimeSpan_Minute(*_args
, **_kwargs
):
873 val
= apply(utilsc
.wxTimeSpan_Minute
,_args
,_kwargs
)
874 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
877 def wxTimeSpan_Hours(*_args
, **_kwargs
):
878 val
= apply(utilsc
.wxTimeSpan_Hours
,_args
,_kwargs
)
879 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
882 def wxTimeSpan_Hour(*_args
, **_kwargs
):
883 val
= apply(utilsc
.wxTimeSpan_Hour
,_args
,_kwargs
)
884 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
887 def wxTimeSpan_Days(*_args
, **_kwargs
):
888 val
= apply(utilsc
.wxTimeSpan_Days
,_args
,_kwargs
)
889 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
892 def wxTimeSpan_Day(*_args
, **_kwargs
):
893 val
= apply(utilsc
.wxTimeSpan_Day
,_args
,_kwargs
)
894 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
897 def wxTimeSpan_Weeks(*_args
, **_kwargs
):
898 val
= apply(utilsc
.wxTimeSpan_Weeks
,_args
,_kwargs
)
899 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
902 def wxTimeSpan_Week(*_args
, **_kwargs
):
903 val
= apply(utilsc
.wxTimeSpan_Week
,_args
,_kwargs
)
904 if val
: val
= wxTimeSpanPtr(val
); val
.thisown
= 1
907 def wxDateSpan_Days(*_args
, **_kwargs
):
908 val
= apply(utilsc
.wxDateSpan_Days
,_args
,_kwargs
)
909 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
912 def wxDateSpan_Day(*_args
, **_kwargs
):
913 val
= apply(utilsc
.wxDateSpan_Day
,_args
,_kwargs
)
914 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
917 def wxDateSpan_Weeks(*_args
, **_kwargs
):
918 val
= apply(utilsc
.wxDateSpan_Weeks
,_args
,_kwargs
)
919 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
922 def wxDateSpan_Week(*_args
, **_kwargs
):
923 val
= apply(utilsc
.wxDateSpan_Week
,_args
,_kwargs
)
924 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
927 def wxDateSpan_Months(*_args
, **_kwargs
):
928 val
= apply(utilsc
.wxDateSpan_Months
,_args
,_kwargs
)
929 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
932 def wxDateSpan_Month(*_args
, **_kwargs
):
933 val
= apply(utilsc
.wxDateSpan_Month
,_args
,_kwargs
)
934 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
937 def wxDateSpan_Years(*_args
, **_kwargs
):
938 val
= apply(utilsc
.wxDateSpan_Years
,_args
,_kwargs
)
939 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
942 def wxDateSpan_Year(*_args
, **_kwargs
):
943 val
= apply(utilsc
.wxDateSpan_Year
,_args
,_kwargs
)
944 if val
: val
= wxDateSpanPtr(val
); val
.thisown
= 1
949 #-------------- VARIABLE WRAPPERS ------------------
951 wxCONFIG_USE_LOCAL_FILE
= utilsc
.wxCONFIG_USE_LOCAL_FILE
952 wxCONFIG_USE_GLOBAL_FILE
= utilsc
.wxCONFIG_USE_GLOBAL_FILE
953 wxCONFIG_USE_RELATIVE_PATH
= utilsc
.wxCONFIG_USE_RELATIVE_PATH