]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/utils.py
Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have
[wxWidgets.git] / wxPython / src / mac / utils.py
CommitLineData
e6056257
RD
1# This file was created automatically by SWIG.
2import utilsc
7108497a 3import wx
e6056257
RD
4class 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):
11 self.this = this
12 self.thisown = 0
7108497a
RD
13 def __del__(self, delfunc=utilsc.delete_wxConfigBase):
14 if self.thisown == 1:
15 try:
16 delfunc(self)
17 except:
18 pass
e6056257 19 def DeleteAll(self, *_args, **_kwargs):
d84a9306 20 val = utilsc.wxConfigBase_DeleteAll(self, *_args, **_kwargs)
e6056257
RD
21 return val
22 def DeleteEntry(self, *_args, **_kwargs):
d84a9306 23 val = utilsc.wxConfigBase_DeleteEntry(self, *_args, **_kwargs)
e6056257
RD
24 return val
25 def DeleteGroup(self, *_args, **_kwargs):
d84a9306 26 val = utilsc.wxConfigBase_DeleteGroup(self, *_args, **_kwargs)
e6056257
RD
27 return val
28 def Exists(self, *_args, **_kwargs):
d84a9306 29 val = utilsc.wxConfigBase_Exists(self, *_args, **_kwargs)
e6056257
RD
30 return val
31 def Flush(self, *_args, **_kwargs):
d84a9306 32 val = utilsc.wxConfigBase_Flush(self, *_args, **_kwargs)
e6056257
RD
33 return val
34 def GetAppName(self, *_args, **_kwargs):
d84a9306 35 val = utilsc.wxConfigBase_GetAppName(self, *_args, **_kwargs)
e6056257
RD
36 return val
37 def GetFirstGroup(self, *_args, **_kwargs):
d84a9306 38 val = utilsc.wxConfigBase_GetFirstGroup(self, *_args, **_kwargs)
e6056257
RD
39 return val
40 def GetFirstEntry(self, *_args, **_kwargs):
d84a9306 41 val = utilsc.wxConfigBase_GetFirstEntry(self, *_args, **_kwargs)
e6056257
RD
42 return val
43 def GetNextGroup(self, *_args, **_kwargs):
d84a9306 44 val = utilsc.wxConfigBase_GetNextGroup(self, *_args, **_kwargs)
e6056257
RD
45 return val
46 def GetNextEntry(self, *_args, **_kwargs):
d84a9306 47 val = utilsc.wxConfigBase_GetNextEntry(self, *_args, **_kwargs)
e6056257
RD
48 return val
49 def GetNumberOfEntries(self, *_args, **_kwargs):
d84a9306 50 val = utilsc.wxConfigBase_GetNumberOfEntries(self, *_args, **_kwargs)
e6056257
RD
51 return val
52 def GetNumberOfGroups(self, *_args, **_kwargs):
d84a9306 53 val = utilsc.wxConfigBase_GetNumberOfGroups(self, *_args, **_kwargs)
e6056257
RD
54 return val
55 def GetPath(self, *_args, **_kwargs):
d84a9306 56 val = utilsc.wxConfigBase_GetPath(self, *_args, **_kwargs)
e6056257
RD
57 return val
58 def GetVendorName(self, *_args, **_kwargs):
d84a9306 59 val = utilsc.wxConfigBase_GetVendorName(self, *_args, **_kwargs)
e6056257
RD
60 return val
61 def HasEntry(self, *_args, **_kwargs):
d84a9306 62 val = utilsc.wxConfigBase_HasEntry(self, *_args, **_kwargs)
e6056257
RD
63 return val
64 def HasGroup(self, *_args, **_kwargs):
d84a9306 65 val = utilsc.wxConfigBase_HasGroup(self, *_args, **_kwargs)
e6056257
RD
66 return val
67 def IsExpandingEnvVars(self, *_args, **_kwargs):
d84a9306 68 val = utilsc.wxConfigBase_IsExpandingEnvVars(self, *_args, **_kwargs)
e6056257
RD
69 return val
70 def IsRecordingDefaults(self, *_args, **_kwargs):
d84a9306 71 val = utilsc.wxConfigBase_IsRecordingDefaults(self, *_args, **_kwargs)
e6056257
RD
72 return val
73 def Read(self, *_args, **_kwargs):
d84a9306 74 val = utilsc.wxConfigBase_Read(self, *_args, **_kwargs)
e6056257
RD
75 return val
76 def ReadInt(self, *_args, **_kwargs):
d84a9306 77 val = utilsc.wxConfigBase_ReadInt(self, *_args, **_kwargs)
e6056257
RD
78 return val
79 def ReadFloat(self, *_args, **_kwargs):
d84a9306 80 val = utilsc.wxConfigBase_ReadFloat(self, *_args, **_kwargs)
e6056257 81 return val
6abe8375 82 def ReadBool(self, *_args, **_kwargs):
d84a9306 83 val = utilsc.wxConfigBase_ReadBool(self, *_args, **_kwargs)
6abe8375 84 return val
e6056257 85 def SetExpandEnvVars(self, *_args, **_kwargs):
d84a9306 86 val = utilsc.wxConfigBase_SetExpandEnvVars(self, *_args, **_kwargs)
e6056257
RD
87 return val
88 def SetPath(self, *_args, **_kwargs):
d84a9306 89 val = utilsc.wxConfigBase_SetPath(self, *_args, **_kwargs)
e6056257
RD
90 return val
91 def SetRecordDefaults(self, *_args, **_kwargs):
d84a9306 92 val = utilsc.wxConfigBase_SetRecordDefaults(self, *_args, **_kwargs)
e6056257
RD
93 return val
94 def SetAppName(self, *_args, **_kwargs):
d84a9306 95 val = utilsc.wxConfigBase_SetAppName(self, *_args, **_kwargs)
e6056257
RD
96 return val
97 def SetVendorName(self, *_args, **_kwargs):
d84a9306 98 val = utilsc.wxConfigBase_SetVendorName(self, *_args, **_kwargs)
e6056257
RD
99 return val
100 def SetStyle(self, *_args, **_kwargs):
d84a9306 101 val = utilsc.wxConfigBase_SetStyle(self, *_args, **_kwargs)
e6056257
RD
102 return val
103 def GetStyle(self, *_args, **_kwargs):
d84a9306 104 val = utilsc.wxConfigBase_GetStyle(self, *_args, **_kwargs)
e6056257
RD
105 return val
106 def Write(self, *_args, **_kwargs):
d84a9306 107 val = utilsc.wxConfigBase_Write(self, *_args, **_kwargs)
e6056257
RD
108 return val
109 def WriteInt(self, *_args, **_kwargs):
d84a9306 110 val = utilsc.wxConfigBase_WriteInt(self, *_args, **_kwargs)
e6056257
RD
111 return val
112 def WriteFloat(self, *_args, **_kwargs):
d84a9306 113 val = utilsc.wxConfigBase_WriteFloat(self, *_args, **_kwargs)
e6056257 114 return val
6abe8375 115 def WriteBool(self, *_args, **_kwargs):
d84a9306 116 val = utilsc.wxConfigBase_WriteBool(self, *_args, **_kwargs)
6abe8375 117 return val
e6056257 118 def GetEntryType(self, *_args, **_kwargs):
d84a9306 119 val = utilsc.wxConfigBase_GetEntryType(self, *_args, **_kwargs)
e6056257
RD
120 return val
121 def RenameEntry(self, *_args, **_kwargs):
d84a9306 122 val = utilsc.wxConfigBase_RenameEntry(self, *_args, **_kwargs)
e6056257
RD
123 return val
124 def RenameGroup(self, *_args, **_kwargs):
d84a9306 125 val = utilsc.wxConfigBase_RenameGroup(self, *_args, **_kwargs)
e6056257
RD
126 return val
127 def ExpandEnvVars(self, *_args, **_kwargs):
d84a9306 128 val = utilsc.wxConfigBase_ExpandEnvVars(self, *_args, **_kwargs)
e6056257
RD
129 return val
130 def __repr__(self):
d84a9306 131 return "<%s.%s instance; proxy of C++ wxConfigBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
132class wxConfigBase(wxConfigBasePtr):
133 def __init__(self,this):
134 self.this = this
135
136
137
138
139class wxConfigPtr(wxConfigBasePtr):
140 def __init__(self,this):
141 self.this = this
142 self.thisown = 0
7108497a
RD
143 def __del__(self, delfunc=utilsc.delete_wxConfig):
144 if self.thisown == 1:
145 try:
146 delfunc(self)
147 except:
148 pass
e6056257 149 def __repr__(self):
d84a9306 150 return "<%s.%s instance; proxy of C++ wxConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
151class wxConfig(wxConfigPtr):
152 def __init__(self,*_args,**_kwargs):
d84a9306 153 self.this = utilsc.new_wxConfig(*_args,**_kwargs)
e6056257
RD
154 self.thisown = 1
155
156
157
158
159class wxFileConfigPtr(wxConfigBasePtr):
160 def __init__(self,this):
161 self.this = this
162 self.thisown = 0
7108497a
RD
163 def __del__(self, delfunc=utilsc.delete_wxFileConfig):
164 if self.thisown == 1:
165 try:
166 delfunc(self)
167 except:
168 pass
e6056257 169 def __repr__(self):
d84a9306 170 return "<%s.%s instance; proxy of C++ wxFileConfig instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
171class wxFileConfig(wxFileConfigPtr):
172 def __init__(self,*_args,**_kwargs):
d84a9306 173 self.this = utilsc.new_wxFileConfig(*_args,**_kwargs)
e6056257
RD
174 self.thisown = 1
175
176
177
178
179class wxDateTimePtr :
180 Local = utilsc.wxDateTime_Local
181 GMT_12 = utilsc.wxDateTime_GMT_12
182 GMT_11 = utilsc.wxDateTime_GMT_11
183 GMT_10 = utilsc.wxDateTime_GMT_10
184 GMT_9 = utilsc.wxDateTime_GMT_9
185 GMT_8 = utilsc.wxDateTime_GMT_8
186 GMT_7 = utilsc.wxDateTime_GMT_7
187 GMT_6 = utilsc.wxDateTime_GMT_6
188 GMT_5 = utilsc.wxDateTime_GMT_5
189 GMT_4 = utilsc.wxDateTime_GMT_4
190 GMT_3 = utilsc.wxDateTime_GMT_3
191 GMT_2 = utilsc.wxDateTime_GMT_2
192 GMT_1 = utilsc.wxDateTime_GMT_1
193 GMT0 = utilsc.wxDateTime_GMT0
194 GMT1 = utilsc.wxDateTime_GMT1
195 GMT2 = utilsc.wxDateTime_GMT2
196 GMT3 = utilsc.wxDateTime_GMT3
197 GMT4 = utilsc.wxDateTime_GMT4
198 GMT5 = utilsc.wxDateTime_GMT5
199 GMT6 = utilsc.wxDateTime_GMT6
200 GMT7 = utilsc.wxDateTime_GMT7
201 GMT8 = utilsc.wxDateTime_GMT8
202 GMT9 = utilsc.wxDateTime_GMT9
203 GMT10 = utilsc.wxDateTime_GMT10
204 GMT11 = utilsc.wxDateTime_GMT11
205 GMT12 = utilsc.wxDateTime_GMT12
206 WET = utilsc.wxDateTime_WET
207 WEST = utilsc.wxDateTime_WEST
208 CET = utilsc.wxDateTime_CET
209 CEST = utilsc.wxDateTime_CEST
210 EET = utilsc.wxDateTime_EET
211 EEST = utilsc.wxDateTime_EEST
212 MSK = utilsc.wxDateTime_MSK
213 MSD = utilsc.wxDateTime_MSD
214 AST = utilsc.wxDateTime_AST
215 ADT = utilsc.wxDateTime_ADT
216 EST = utilsc.wxDateTime_EST
217 EDT = utilsc.wxDateTime_EDT
218 CST = utilsc.wxDateTime_CST
219 CDT = utilsc.wxDateTime_CDT
220 MST = utilsc.wxDateTime_MST
221 MDT = utilsc.wxDateTime_MDT
222 PST = utilsc.wxDateTime_PST
223 PDT = utilsc.wxDateTime_PDT
224 HST = utilsc.wxDateTime_HST
225 AKST = utilsc.wxDateTime_AKST
226 AKDT = utilsc.wxDateTime_AKDT
227 A_WST = utilsc.wxDateTime_A_WST
228 A_CST = utilsc.wxDateTime_A_CST
229 A_EST = utilsc.wxDateTime_A_EST
230 A_ESST = utilsc.wxDateTime_A_ESST
231 UTC = utilsc.wxDateTime_UTC
232 Gregorian = utilsc.wxDateTime_Gregorian
233 Julian = utilsc.wxDateTime_Julian
234 Country_Unknown = utilsc.wxDateTime_Country_Unknown
235 Country_Default = utilsc.wxDateTime_Country_Default
236 Country_WesternEurope_Start = utilsc.wxDateTime_Country_WesternEurope_Start
237 Country_EEC = utilsc.wxDateTime_Country_EEC
238 France = utilsc.wxDateTime_France
239 Germany = utilsc.wxDateTime_Germany
240 UK = utilsc.wxDateTime_UK
241 Country_WesternEurope_End = utilsc.wxDateTime_Country_WesternEurope_End
242 Russia = utilsc.wxDateTime_Russia
243 USA = utilsc.wxDateTime_USA
244 Jan = utilsc.wxDateTime_Jan
245 Feb = utilsc.wxDateTime_Feb
246 Mar = utilsc.wxDateTime_Mar
247 Apr = utilsc.wxDateTime_Apr
248 May = utilsc.wxDateTime_May
249 Jun = utilsc.wxDateTime_Jun
250 Jul = utilsc.wxDateTime_Jul
251 Aug = utilsc.wxDateTime_Aug
252 Sep = utilsc.wxDateTime_Sep
253 Oct = utilsc.wxDateTime_Oct
254 Nov = utilsc.wxDateTime_Nov
255 Dec = utilsc.wxDateTime_Dec
256 Inv_Month = utilsc.wxDateTime_Inv_Month
257 Sun = utilsc.wxDateTime_Sun
258 Mon = utilsc.wxDateTime_Mon
259 Tue = utilsc.wxDateTime_Tue
260 Wed = utilsc.wxDateTime_Wed
261 Thu = utilsc.wxDateTime_Thu
262 Fri = utilsc.wxDateTime_Fri
263 Sat = utilsc.wxDateTime_Sat
264 Inv_WeekDay = utilsc.wxDateTime_Inv_WeekDay
265 Inv_Year = utilsc.wxDateTime_Inv_Year
266 Name_Full = utilsc.wxDateTime_Name_Full
267 Name_Abbr = utilsc.wxDateTime_Name_Abbr
268 Default_First = utilsc.wxDateTime_Default_First
269 Monday_First = utilsc.wxDateTime_Monday_First
270 Sunday_First = utilsc.wxDateTime_Sunday_First
271 def __init__(self,this):
272 self.this = this
273 self.thisown = 0
7108497a
RD
274 def __del__(self, delfunc=utilsc.delete_wxDateTime):
275 if self.thisown == 1:
276 try:
277 delfunc(self)
278 except:
279 pass
e6056257 280 def SetToCurrent(self, *_args, **_kwargs):
d84a9306 281 val = utilsc.wxDateTime_SetToCurrent(self, *_args, **_kwargs)
e6056257
RD
282 if val: val = wxDateTimePtr(val)
283 return val
284 def SetTimeT(self, *_args, **_kwargs):
d84a9306 285 val = utilsc.wxDateTime_SetTimeT(self, *_args, **_kwargs)
e6056257
RD
286 if val: val = wxDateTimePtr(val)
287 return val
288 def SetJDN(self, *_args, **_kwargs):
d84a9306 289 val = utilsc.wxDateTime_SetJDN(self, *_args, **_kwargs)
e6056257
RD
290 if val: val = wxDateTimePtr(val)
291 return val
292 def SetHMS(self, *_args, **_kwargs):
d84a9306 293 val = utilsc.wxDateTime_SetHMS(self, *_args, **_kwargs)
e6056257
RD
294 if val: val = wxDateTimePtr(val)
295 return val
296 def Set(self, *_args, **_kwargs):
d84a9306 297 val = utilsc.wxDateTime_Set(self, *_args, **_kwargs)
e6056257
RD
298 if val: val = wxDateTimePtr(val)
299 return val
300 def ResetTime(self, *_args, **_kwargs):
d84a9306 301 val = utilsc.wxDateTime_ResetTime(self, *_args, **_kwargs)
e6056257
RD
302 if val: val = wxDateTimePtr(val)
303 return val
304 def SetYear(self, *_args, **_kwargs):
d84a9306 305 val = utilsc.wxDateTime_SetYear(self, *_args, **_kwargs)
e6056257
RD
306 if val: val = wxDateTimePtr(val)
307 return val
308 def SetMonth(self, *_args, **_kwargs):
d84a9306 309 val = utilsc.wxDateTime_SetMonth(self, *_args, **_kwargs)
e6056257
RD
310 if val: val = wxDateTimePtr(val)
311 return val
312 def SetDay(self, *_args, **_kwargs):
d84a9306 313 val = utilsc.wxDateTime_SetDay(self, *_args, **_kwargs)
e6056257
RD
314 if val: val = wxDateTimePtr(val)
315 return val
316 def SetHour(self, *_args, **_kwargs):
d84a9306 317 val = utilsc.wxDateTime_SetHour(self, *_args, **_kwargs)
e6056257
RD
318 if val: val = wxDateTimePtr(val)
319 return val
320 def SetMinute(self, *_args, **_kwargs):
d84a9306 321 val = utilsc.wxDateTime_SetMinute(self, *_args, **_kwargs)
e6056257
RD
322 if val: val = wxDateTimePtr(val)
323 return val
324 def SetSecond(self, *_args, **_kwargs):
d84a9306 325 val = utilsc.wxDateTime_SetSecond(self, *_args, **_kwargs)
e6056257
RD
326 if val: val = wxDateTimePtr(val)
327 return val
328 def SetMillisecond(self, *_args, **_kwargs):
d84a9306 329 val = utilsc.wxDateTime_SetMillisecond(self, *_args, **_kwargs)
e6056257
RD
330 if val: val = wxDateTimePtr(val)
331 return val
332 def SetToWeekDayInSameWeek(self, *_args, **_kwargs):
d84a9306 333 val = utilsc.wxDateTime_SetToWeekDayInSameWeek(self, *_args, **_kwargs)
e6056257
RD
334 if val: val = wxDateTimePtr(val)
335 return val
336 def GetWeekDayInSameWeek(self, *_args, **_kwargs):
d84a9306 337 val = utilsc.wxDateTime_GetWeekDayInSameWeek(self, *_args, **_kwargs)
e6056257
RD
338 if val: val = wxDateTimePtr(val) ; val.thisown = 1
339 return val
340 def SetToNextWeekDay(self, *_args, **_kwargs):
d84a9306 341 val = utilsc.wxDateTime_SetToNextWeekDay(self, *_args, **_kwargs)
e6056257
RD
342 if val: val = wxDateTimePtr(val)
343 return val
344 def GetNextWeekDay(self, *_args, **_kwargs):
d84a9306 345 val = utilsc.wxDateTime_GetNextWeekDay(self, *_args, **_kwargs)
e6056257
RD
346 if val: val = wxDateTimePtr(val) ; val.thisown = 1
347 return val
348 def SetToPrevWeekDay(self, *_args, **_kwargs):
d84a9306 349 val = utilsc.wxDateTime_SetToPrevWeekDay(self, *_args, **_kwargs)
e6056257
RD
350 if val: val = wxDateTimePtr(val)
351 return val
352 def GetPrevWeekDay(self, *_args, **_kwargs):
d84a9306 353 val = utilsc.wxDateTime_GetPrevWeekDay(self, *_args, **_kwargs)
e6056257
RD
354 if val: val = wxDateTimePtr(val) ; val.thisown = 1
355 return val
356 def SetToWeekDay(self, *_args, **_kwargs):
d84a9306 357 val = utilsc.wxDateTime_SetToWeekDay(self, *_args, **_kwargs)
e6056257
RD
358 return val
359 def SetToLastWeekDay(self, *_args, **_kwargs):
d84a9306 360 val = utilsc.wxDateTime_SetToLastWeekDay(self, *_args, **_kwargs)
e6056257
RD
361 return val
362 def GetLastWeekDay(self, *_args, **_kwargs):
d84a9306 363 val = utilsc.wxDateTime_GetLastWeekDay(self, *_args, **_kwargs)
e6056257
RD
364 if val: val = wxDateTimePtr(val) ; val.thisown = 1
365 return val
366 def SetToTheWeek(self, *_args, **_kwargs):
d84a9306 367 val = utilsc.wxDateTime_SetToTheWeek(self, *_args, **_kwargs)
e6056257
RD
368 return val
369 def GetWeek(self, *_args, **_kwargs):
d84a9306 370 val = utilsc.wxDateTime_GetWeek(self, *_args, **_kwargs)
e6056257
RD
371 if val: val = wxDateTimePtr(val) ; val.thisown = 1
372 return val
373 def SetToLastMonthDay(self, *_args, **_kwargs):
d84a9306 374 val = utilsc.wxDateTime_SetToLastMonthDay(self, *_args, **_kwargs)
e6056257
RD
375 if val: val = wxDateTimePtr(val)
376 return val
377 def GetLastMonthDay(self, *_args, **_kwargs):
d84a9306 378 val = utilsc.wxDateTime_GetLastMonthDay(self, *_args, **_kwargs)
e6056257
RD
379 if val: val = wxDateTimePtr(val) ; val.thisown = 1
380 return val
381 def SetToYearDay(self, *_args, **_kwargs):
d84a9306 382 val = utilsc.wxDateTime_SetToYearDay(self, *_args, **_kwargs)
e6056257
RD
383 if val: val = wxDateTimePtr(val)
384 return val
385 def GetYearDay(self, *_args, **_kwargs):
d84a9306 386 val = utilsc.wxDateTime_GetYearDay(self, *_args, **_kwargs)
e6056257
RD
387 if val: val = wxDateTimePtr(val) ; val.thisown = 1
388 return val
389 def GetJulianDayNumber(self, *_args, **_kwargs):
d84a9306 390 val = utilsc.wxDateTime_GetJulianDayNumber(self, *_args, **_kwargs)
e6056257
RD
391 return val
392 def GetJDN(self, *_args, **_kwargs):
d84a9306 393 val = utilsc.wxDateTime_GetJDN(self, *_args, **_kwargs)
e6056257
RD
394 return val
395 def GetModifiedJulianDayNumber(self, *_args, **_kwargs):
d84a9306 396 val = utilsc.wxDateTime_GetModifiedJulianDayNumber(self, *_args, **_kwargs)
e6056257
RD
397 return val
398 def GetMJD(self, *_args, **_kwargs):
d84a9306 399 val = utilsc.wxDateTime_GetMJD(self, *_args, **_kwargs)
e6056257
RD
400 return val
401 def GetRataDie(self, *_args, **_kwargs):
d84a9306 402 val = utilsc.wxDateTime_GetRataDie(self, *_args, **_kwargs)
e6056257
RD
403 return val
404 def ToTimezone(self, *_args, **_kwargs):
d84a9306 405 val = utilsc.wxDateTime_ToTimezone(self, *_args, **_kwargs)
e6056257
RD
406 if val: val = wxDateTimePtr(val) ; val.thisown = 1
407 return val
408 def MakeTimezone(self, *_args, **_kwargs):
d84a9306 409 val = utilsc.wxDateTime_MakeTimezone(self, *_args, **_kwargs)
e6056257
RD
410 if val: val = wxDateTimePtr(val)
411 return val
412 def ToGMT(self, *_args, **_kwargs):
d84a9306 413 val = utilsc.wxDateTime_ToGMT(self, *_args, **_kwargs)
e6056257
RD
414 if val: val = wxDateTimePtr(val) ; val.thisown = 1
415 return val
416 def MakeGMT(self, *_args, **_kwargs):
d84a9306 417 val = utilsc.wxDateTime_MakeGMT(self, *_args, **_kwargs)
e6056257
RD
418 if val: val = wxDateTimePtr(val)
419 return val
420 def IsDST(self, *_args, **_kwargs):
d84a9306 421 val = utilsc.wxDateTime_IsDST(self, *_args, **_kwargs)
e6056257
RD
422 return val
423 def IsValid(self, *_args, **_kwargs):
d84a9306 424 val = utilsc.wxDateTime_IsValid(self, *_args, **_kwargs)
e6056257
RD
425 return val
426 def GetTicks(self, *_args, **_kwargs):
d84a9306 427 val = utilsc.wxDateTime_GetTicks(self, *_args, **_kwargs)
e6056257
RD
428 return val
429 def GetYear(self, *_args, **_kwargs):
d84a9306 430 val = utilsc.wxDateTime_GetYear(self, *_args, **_kwargs)
e6056257
RD
431 return val
432 def GetMonth(self, *_args, **_kwargs):
d84a9306 433 val = utilsc.wxDateTime_GetMonth(self, *_args, **_kwargs)
e6056257
RD
434 return val
435 def GetDay(self, *_args, **_kwargs):
d84a9306 436 val = utilsc.wxDateTime_GetDay(self, *_args, **_kwargs)
e6056257
RD
437 return val
438 def GetWeekDay(self, *_args, **_kwargs):
d84a9306 439 val = utilsc.wxDateTime_GetWeekDay(self, *_args, **_kwargs)
e6056257
RD
440 return val
441 def GetHour(self, *_args, **_kwargs):
d84a9306 442 val = utilsc.wxDateTime_GetHour(self, *_args, **_kwargs)
e6056257
RD
443 return val
444 def GetMinute(self, *_args, **_kwargs):
d84a9306 445 val = utilsc.wxDateTime_GetMinute(self, *_args, **_kwargs)
e6056257
RD
446 return val
447 def GetSecond(self, *_args, **_kwargs):
d84a9306 448 val = utilsc.wxDateTime_GetSecond(self, *_args, **_kwargs)
e6056257
RD
449 return val
450 def GetMillisecond(self, *_args, **_kwargs):
d84a9306 451 val = utilsc.wxDateTime_GetMillisecond(self, *_args, **_kwargs)
e6056257
RD
452 return val
453 def GetDayOfYear(self, *_args, **_kwargs):
d84a9306 454 val = utilsc.wxDateTime_GetDayOfYear(self, *_args, **_kwargs)
e6056257
RD
455 return val
456 def GetWeekOfYear(self, *_args, **_kwargs):
d84a9306 457 val = utilsc.wxDateTime_GetWeekOfYear(self, *_args, **_kwargs)
e6056257
RD
458 return val
459 def GetWeekOfMonth(self, *_args, **_kwargs):
d84a9306 460 val = utilsc.wxDateTime_GetWeekOfMonth(self, *_args, **_kwargs)
e6056257
RD
461 return val
462 def IsWorkDay(self, *_args, **_kwargs):
d84a9306 463 val = utilsc.wxDateTime_IsWorkDay(self, *_args, **_kwargs)
e6056257
RD
464 return val
465 def IsEqualTo(self, *_args, **_kwargs):
d84a9306 466 val = utilsc.wxDateTime_IsEqualTo(self, *_args, **_kwargs)
e6056257
RD
467 return val
468 def IsEarlierThan(self, *_args, **_kwargs):
d84a9306 469 val = utilsc.wxDateTime_IsEarlierThan(self, *_args, **_kwargs)
e6056257
RD
470 return val
471 def IsLaterThan(self, *_args, **_kwargs):
d84a9306 472 val = utilsc.wxDateTime_IsLaterThan(self, *_args, **_kwargs)
e6056257
RD
473 return val
474 def IsStrictlyBetween(self, *_args, **_kwargs):
d84a9306 475 val = utilsc.wxDateTime_IsStrictlyBetween(self, *_args, **_kwargs)
e6056257
RD
476 return val
477 def IsBetween(self, *_args, **_kwargs):
d84a9306 478 val = utilsc.wxDateTime_IsBetween(self, *_args, **_kwargs)
e6056257
RD
479 return val
480 def IsSameDate(self, *_args, **_kwargs):
d84a9306 481 val = utilsc.wxDateTime_IsSameDate(self, *_args, **_kwargs)
e6056257
RD
482 return val
483 def IsSameTime(self, *_args, **_kwargs):
d84a9306 484 val = utilsc.wxDateTime_IsSameTime(self, *_args, **_kwargs)
e6056257
RD
485 return val
486 def IsEqualUpTo(self, *_args, **_kwargs):
d84a9306 487 val = utilsc.wxDateTime_IsEqualUpTo(self, *_args, **_kwargs)
e6056257
RD
488 return val
489 def AddTS(self, *_args, **_kwargs):
d84a9306 490 val = utilsc.wxDateTime_AddTS(self, *_args, **_kwargs)
e6056257
RD
491 if val: val = wxDateTimePtr(val)
492 return val
493 def AddDS(self, *_args, **_kwargs):
d84a9306 494 val = utilsc.wxDateTime_AddDS(self, *_args, **_kwargs)
e6056257
RD
495 if val: val = wxDateTimePtr(val)
496 return val
497 def SubtractTS(self, *_args, **_kwargs):
d84a9306 498 val = utilsc.wxDateTime_SubtractTS(self, *_args, **_kwargs)
e6056257
RD
499 if val: val = wxDateTimePtr(val)
500 return val
501 def SubtractDS(self, *_args, **_kwargs):
d84a9306 502 val = utilsc.wxDateTime_SubtractDS(self, *_args, **_kwargs)
e6056257
RD
503 if val: val = wxDateTimePtr(val)
504 return val
505 def Subtract(self, *_args, **_kwargs):
d84a9306 506 val = utilsc.wxDateTime_Subtract(self, *_args, **_kwargs)
e6056257
RD
507 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
508 return val
509 def __add__TS(self, *_args, **_kwargs):
d84a9306 510 val = utilsc.wxDateTime___add__TS(self, *_args, **_kwargs)
e6056257
RD
511 if val: val = wxDateTimePtr(val) ; val.thisown = 1
512 return val
513 def __add__DS(self, *_args, **_kwargs):
d84a9306 514 val = utilsc.wxDateTime___add__DS(self, *_args, **_kwargs)
e6056257
RD
515 if val: val = wxDateTimePtr(val) ; val.thisown = 1
516 return val
517 def __sub__DT(self, *_args, **_kwargs):
d84a9306 518 val = utilsc.wxDateTime___sub__DT(self, *_args, **_kwargs)
e6056257
RD
519 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
520 return val
521 def __sub__TS(self, *_args, **_kwargs):
d84a9306 522 val = utilsc.wxDateTime___sub__TS(self, *_args, **_kwargs)
e6056257
RD
523 if val: val = wxDateTimePtr(val) ; val.thisown = 1
524 return val
525 def __sub__DS(self, *_args, **_kwargs):
d84a9306 526 val = utilsc.wxDateTime___sub__DS(self, *_args, **_kwargs)
e6056257
RD
527 if val: val = wxDateTimePtr(val) ; val.thisown = 1
528 return val
529 def __cmp__(self, *_args, **_kwargs):
d84a9306 530 val = utilsc.wxDateTime___cmp__(self, *_args, **_kwargs)
e6056257
RD
531 return val
532 def ParseRfc822Date(self, *_args, **_kwargs):
d84a9306 533 val = utilsc.wxDateTime_ParseRfc822Date(self, *_args, **_kwargs)
e6056257
RD
534 return val
535 def ParseFormat(self, *_args, **_kwargs):
d84a9306 536 val = utilsc.wxDateTime_ParseFormat(self, *_args, **_kwargs)
e6056257
RD
537 return val
538 def ParseDateTime(self, *_args, **_kwargs):
d84a9306 539 val = utilsc.wxDateTime_ParseDateTime(self, *_args, **_kwargs)
e6056257
RD
540 return val
541 def ParseDate(self, *_args, **_kwargs):
d84a9306 542 val = utilsc.wxDateTime_ParseDate(self, *_args, **_kwargs)
e6056257
RD
543 return val
544 def ParseTime(self, *_args, **_kwargs):
d84a9306 545 val = utilsc.wxDateTime_ParseTime(self, *_args, **_kwargs)
e6056257
RD
546 return val
547 def Format(self, *_args, **_kwargs):
d84a9306 548 val = utilsc.wxDateTime_Format(self, *_args, **_kwargs)
e6056257
RD
549 return val
550 def FormatDate(self, *_args, **_kwargs):
d84a9306 551 val = utilsc.wxDateTime_FormatDate(self, *_args, **_kwargs)
e6056257
RD
552 return val
553 def FormatTime(self, *_args, **_kwargs):
d84a9306 554 val = utilsc.wxDateTime_FormatTime(self, *_args, **_kwargs)
e6056257
RD
555 return val
556 def FormatISODate(self, *_args, **_kwargs):
d84a9306 557 val = utilsc.wxDateTime_FormatISODate(self, *_args, **_kwargs)
e6056257
RD
558 return val
559 def FormatISOTime(self, *_args, **_kwargs):
d84a9306 560 val = utilsc.wxDateTime_FormatISOTime(self, *_args, **_kwargs)
e6056257
RD
561 return val
562 def __repr__(self):
d84a9306 563 return "<%s.%s instance; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
564
565 def __add__(self, other):
7108497a 566 if isinstance(other, wxTimeSpanPtr):
e6056257 567 return self.__add__TS(other)
7108497a 568 if isinstance(other, wxDateSpanPtr):
e6056257
RD
569 return self.__add__DS(other)
570 raise TypeError, 'Invalid r.h.s. type for __add__'
571 def __sub__(self, other):
7108497a 572 if isinstance(other, wxDateTimePtr):
e6056257 573 return self.__sub__DT(other)
7108497a 574 if isinstance(other, wxTimeSpanPtr):
e6056257 575 return self.__sub__TS(other)
7108497a 576 if isinstance(other, wxDateSpanPtr):
e6056257
RD
577 return self.__sub__DS(other)
578 raise TypeError, 'Invalid r.h.s. type for __sub__'
579
580
581 def __repr__(self):
582 return '<wxDateTime: \"%s\" at %s>' % ( self.Format(), self.this)
583 def __str__(self):
584 return self.Format()
585
586class wxDateTime(wxDateTimePtr):
587 def __init__(self,*_args,**_kwargs):
d84a9306 588 self.this = utilsc.new_wxDateTime(*_args,**_kwargs)
e6056257
RD
589 self.thisown = 1
590
591
592
593def wxDateTimeFromTimeT(*_args,**_kwargs):
d84a9306 594 val = wxDateTimePtr(utilsc.new_wxDateTimeFromTimeT(*_args,**_kwargs))
e6056257
RD
595 val.thisown = 1
596 return val
597
598def wxDateTimeFromJDN(*_args,**_kwargs):
d84a9306 599 val = wxDateTimePtr(utilsc.new_wxDateTimeFromJDN(*_args,**_kwargs))
e6056257
RD
600 val.thisown = 1
601 return val
602
603def wxDateTimeFromHMS(*_args,**_kwargs):
d84a9306 604 val = wxDateTimePtr(utilsc.new_wxDateTimeFromHMS(*_args,**_kwargs))
e6056257
RD
605 val.thisown = 1
606 return val
607
608def wxDateTimeFromDMY(*_args,**_kwargs):
d84a9306 609 val = wxDateTimePtr(utilsc.new_wxDateTimeFromDMY(*_args,**_kwargs))
e6056257
RD
610 val.thisown = 1
611 return val
612
613
614class wxTimeSpanPtr :
615 def __init__(self,this):
616 self.this = this
617 self.thisown = 0
7108497a
RD
618 def __del__(self, delfunc=utilsc.delete_wxTimeSpan):
619 if self.thisown == 1:
620 try:
621 delfunc(self)
622 except:
623 pass
e6056257 624 def Add(self, *_args, **_kwargs):
d84a9306 625 val = utilsc.wxTimeSpan_Add(self, *_args, **_kwargs)
e6056257
RD
626 if val: val = wxTimeSpanPtr(val)
627 return val
628 def Subtract(self, *_args, **_kwargs):
d84a9306 629 val = utilsc.wxTimeSpan_Subtract(self, *_args, **_kwargs)
e6056257
RD
630 if val: val = wxTimeSpanPtr(val)
631 return val
632 def Multiply(self, *_args, **_kwargs):
d84a9306 633 val = utilsc.wxTimeSpan_Multiply(self, *_args, **_kwargs)
e6056257
RD
634 if val: val = wxTimeSpanPtr(val)
635 return val
636 def Neg(self, *_args, **_kwargs):
d84a9306 637 val = utilsc.wxTimeSpan_Neg(self, *_args, **_kwargs)
e6056257
RD
638 if val: val = wxTimeSpanPtr(val)
639 return val
640 def Abs(self, *_args, **_kwargs):
d84a9306 641 val = utilsc.wxTimeSpan_Abs(self, *_args, **_kwargs)
e6056257
RD
642 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
643 return val
644 def __add__(self, *_args, **_kwargs):
d84a9306 645 val = utilsc.wxTimeSpan___add__(self, *_args, **_kwargs)
e6056257
RD
646 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
647 return val
648 def __sub__(self, *_args, **_kwargs):
d84a9306 649 val = utilsc.wxTimeSpan___sub__(self, *_args, **_kwargs)
e6056257
RD
650 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
651 return val
652 def __mul__(self, *_args, **_kwargs):
d84a9306 653 val = utilsc.wxTimeSpan___mul__(self, *_args, **_kwargs)
e6056257
RD
654 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
655 return val
656 def __rmul__(self, *_args, **_kwargs):
d84a9306 657 val = utilsc.wxTimeSpan___rmul__(self, *_args, **_kwargs)
e6056257
RD
658 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
659 return val
660 def __neg__(self, *_args, **_kwargs):
d84a9306 661 val = utilsc.wxTimeSpan___neg__(self, *_args, **_kwargs)
e6056257
RD
662 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
663 return val
664 def __cmp__(self, *_args, **_kwargs):
d84a9306 665 val = utilsc.wxTimeSpan___cmp__(self, *_args, **_kwargs)
e6056257
RD
666 return val
667 def IsNull(self, *_args, **_kwargs):
d84a9306 668 val = utilsc.wxTimeSpan_IsNull(self, *_args, **_kwargs)
e6056257
RD
669 return val
670 def IsPositive(self, *_args, **_kwargs):
d84a9306 671 val = utilsc.wxTimeSpan_IsPositive(self, *_args, **_kwargs)
e6056257
RD
672 return val
673 def IsNegative(self, *_args, **_kwargs):
d84a9306 674 val = utilsc.wxTimeSpan_IsNegative(self, *_args, **_kwargs)
e6056257
RD
675 return val
676 def IsEqualTo(self, *_args, **_kwargs):
d84a9306 677 val = utilsc.wxTimeSpan_IsEqualTo(self, *_args, **_kwargs)
e6056257
RD
678 return val
679 def IsLongerThan(self, *_args, **_kwargs):
d84a9306 680 val = utilsc.wxTimeSpan_IsLongerThan(self, *_args, **_kwargs)
e6056257
RD
681 return val
682 def IsShorterThan(self, *_args, **_kwargs):
d84a9306 683 val = utilsc.wxTimeSpan_IsShorterThan(self, *_args, **_kwargs)
e6056257
RD
684 return val
685 def GetWeeks(self, *_args, **_kwargs):
d84a9306 686 val = utilsc.wxTimeSpan_GetWeeks(self, *_args, **_kwargs)
e6056257
RD
687 return val
688 def GetDays(self, *_args, **_kwargs):
d84a9306 689 val = utilsc.wxTimeSpan_GetDays(self, *_args, **_kwargs)
e6056257
RD
690 return val
691 def GetHours(self, *_args, **_kwargs):
d84a9306 692 val = utilsc.wxTimeSpan_GetHours(self, *_args, **_kwargs)
e6056257
RD
693 return val
694 def GetMinutes(self, *_args, **_kwargs):
d84a9306 695 val = utilsc.wxTimeSpan_GetMinutes(self, *_args, **_kwargs)
e6056257
RD
696 return val
697 def GetSeconds(self, *_args, **_kwargs):
d84a9306 698 val = utilsc.wxTimeSpan_GetSeconds(self, *_args, **_kwargs)
e6056257
RD
699 return val
700 def GetMilliseconds(self, *_args, **_kwargs):
d84a9306 701 val = utilsc.wxTimeSpan_GetMilliseconds(self, *_args, **_kwargs)
e6056257
RD
702 return val
703 def Format(self, *_args, **_kwargs):
d84a9306 704 val = utilsc.wxTimeSpan_Format(self, *_args, **_kwargs)
e6056257
RD
705 return val
706 def __repr__(self):
d84a9306 707 return "<%s.%s instance; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
708class wxTimeSpan(wxTimeSpanPtr):
709 def __init__(self,*_args,**_kwargs):
d84a9306 710 self.this = utilsc.new_wxTimeSpan(*_args,**_kwargs)
e6056257
RD
711 self.thisown = 1
712
713
714
715
716class wxDateSpanPtr :
717 def __init__(self,this):
718 self.this = this
719 self.thisown = 0
7108497a
RD
720 def __del__(self, delfunc=utilsc.delete_wxDateSpan):
721 if self.thisown == 1:
722 try:
723 delfunc(self)
724 except:
725 pass
e6056257 726 def SetYears(self, *_args, **_kwargs):
d84a9306 727 val = utilsc.wxDateSpan_SetYears(self, *_args, **_kwargs)
e6056257
RD
728 if val: val = wxDateSpanPtr(val)
729 return val
730 def SetMonths(self, *_args, **_kwargs):
d84a9306 731 val = utilsc.wxDateSpan_SetMonths(self, *_args, **_kwargs)
e6056257
RD
732 if val: val = wxDateSpanPtr(val)
733 return val
734 def SetWeeks(self, *_args, **_kwargs):
d84a9306 735 val = utilsc.wxDateSpan_SetWeeks(self, *_args, **_kwargs)
e6056257
RD
736 if val: val = wxDateSpanPtr(val)
737 return val
738 def SetDays(self, *_args, **_kwargs):
d84a9306 739 val = utilsc.wxDateSpan_SetDays(self, *_args, **_kwargs)
e6056257
RD
740 if val: val = wxDateSpanPtr(val)
741 return val
742 def GetYears(self, *_args, **_kwargs):
d84a9306 743 val = utilsc.wxDateSpan_GetYears(self, *_args, **_kwargs)
e6056257
RD
744 return val
745 def GetMonths(self, *_args, **_kwargs):
d84a9306 746 val = utilsc.wxDateSpan_GetMonths(self, *_args, **_kwargs)
e6056257
RD
747 return val
748 def GetWeeks(self, *_args, **_kwargs):
d84a9306 749 val = utilsc.wxDateSpan_GetWeeks(self, *_args, **_kwargs)
e6056257
RD
750 return val
751 def GetDays(self, *_args, **_kwargs):
d84a9306 752 val = utilsc.wxDateSpan_GetDays(self, *_args, **_kwargs)
e6056257
RD
753 return val
754 def GetTotalDays(self, *_args, **_kwargs):
d84a9306 755 val = utilsc.wxDateSpan_GetTotalDays(self, *_args, **_kwargs)
e6056257
RD
756 return val
757 def Add(self, *_args, **_kwargs):
d84a9306 758 val = utilsc.wxDateSpan_Add(self, *_args, **_kwargs)
e6056257
RD
759 if val: val = wxDateSpanPtr(val)
760 return val
761 def Subtract(self, *_args, **_kwargs):
d84a9306 762 val = utilsc.wxDateSpan_Subtract(self, *_args, **_kwargs)
e6056257
RD
763 if val: val = wxDateSpanPtr(val)
764 return val
765 def Neg(self, *_args, **_kwargs):
d84a9306 766 val = utilsc.wxDateSpan_Neg(self, *_args, **_kwargs)
e6056257
RD
767 if val: val = wxDateSpanPtr(val)
768 return val
769 def Multiply(self, *_args, **_kwargs):
d84a9306 770 val = utilsc.wxDateSpan_Multiply(self, *_args, **_kwargs)
e6056257
RD
771 if val: val = wxDateSpanPtr(val)
772 return val
773 def __add__(self, *_args, **_kwargs):
d84a9306 774 val = utilsc.wxDateSpan___add__(self, *_args, **_kwargs)
e6056257
RD
775 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
776 return val
777 def __sub__(self, *_args, **_kwargs):
d84a9306 778 val = utilsc.wxDateSpan___sub__(self, *_args, **_kwargs)
e6056257
RD
779 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
780 return val
781 def __mul__(self, *_args, **_kwargs):
d84a9306 782 val = utilsc.wxDateSpan___mul__(self, *_args, **_kwargs)
e6056257
RD
783 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
784 return val
785 def __rmul__(self, *_args, **_kwargs):
d84a9306 786 val = utilsc.wxDateSpan___rmul__(self, *_args, **_kwargs)
e6056257
RD
787 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
788 return val
789 def __neg__(self, *_args, **_kwargs):
d84a9306 790 val = utilsc.wxDateSpan___neg__(self, *_args, **_kwargs)
e6056257
RD
791 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
792 return val
793 def __repr__(self):
d84a9306 794 return "<%s.%s instance; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
795class wxDateSpan(wxDateSpanPtr):
796 def __init__(self,*_args,**_kwargs):
d84a9306 797 self.this = utilsc.new_wxDateSpan(*_args,**_kwargs)
e6056257
RD
798 self.thisown = 1
799
800
801
802
803
804
805#-------------- FUNCTION WRAPPERS ------------------
806
807wxGetLocalTime = utilsc.wxGetLocalTime
808
809wxGetUTCTime = utilsc.wxGetUTCTime
810
811wxGetCurrentTime = utilsc.wxGetCurrentTime
812
813wxGetLocalTimeMillis = utilsc.wxGetLocalTimeMillis
814
815def wxConfigBase_Set(*_args, **_kwargs):
d84a9306 816 val = utilsc.wxConfigBase_Set(*_args,**_kwargs)
e6056257
RD
817 if val: val = wxConfigBasePtr(val)
818 return val
819
820def wxConfigBase_Get(*_args, **_kwargs):
d84a9306 821 val = utilsc.wxConfigBase_Get(*_args,**_kwargs)
e6056257
RD
822 if val: val = wxConfigBasePtr(val)
823 return val
824
825def wxConfigBase_Create(*_args, **_kwargs):
d84a9306 826 val = utilsc.wxConfigBase_Create(*_args,**_kwargs)
e6056257
RD
827 if val: val = wxConfigBasePtr(val)
828 return val
829
830wxConfigBase_DontCreateOnDemand = utilsc.wxConfigBase_DontCreateOnDemand
831
832wxDateTime_SetCountry = utilsc.wxDateTime_SetCountry
833
834wxDateTime_GetCountry = utilsc.wxDateTime_GetCountry
835
836wxDateTime_IsWestEuropeanCountry = utilsc.wxDateTime_IsWestEuropeanCountry
837
838wxDateTime_GetCurrentYear = utilsc.wxDateTime_GetCurrentYear
839
840wxDateTime_ConvertYearToBC = utilsc.wxDateTime_ConvertYearToBC
841
842wxDateTime_GetCurrentMonth = utilsc.wxDateTime_GetCurrentMonth
843
844wxDateTime_IsLeapYear = utilsc.wxDateTime_IsLeapYear
845
846wxDateTime_GetCentury = utilsc.wxDateTime_GetCentury
847
848wxDateTime_GetNumberOfDaysinYear = utilsc.wxDateTime_GetNumberOfDaysinYear
849
850wxDateTime_GetNumberOfDaysInMonth = utilsc.wxDateTime_GetNumberOfDaysInMonth
851
852wxDateTime_GetMonthName = utilsc.wxDateTime_GetMonthName
853
854wxDateTime_GetWeekDayName = utilsc.wxDateTime_GetWeekDayName
855
856wxDateTime_GetAmPmStrings = utilsc.wxDateTime_GetAmPmStrings
857
858wxDateTime_IsDSTApplicable = utilsc.wxDateTime_IsDSTApplicable
859
860def wxDateTime_GetBeginDST(*_args, **_kwargs):
d84a9306 861 val = utilsc.wxDateTime_GetBeginDST(*_args,**_kwargs)
e6056257
RD
862 if val: val = wxDateTimePtr(val); val.thisown = 1
863 return val
864
865def wxDateTime_GetEndDST(*_args, **_kwargs):
d84a9306 866 val = utilsc.wxDateTime_GetEndDST(*_args,**_kwargs)
e6056257
RD
867 if val: val = wxDateTimePtr(val); val.thisown = 1
868 return val
869
870def wxDateTime_Now(*_args, **_kwargs):
d84a9306 871 val = utilsc.wxDateTime_Now(*_args,**_kwargs)
e6056257
RD
872 if val: val = wxDateTimePtr(val); val.thisown = 1
873 return val
874
7108497a 875def wxDateTime_UNow(*_args, **_kwargs):
d84a9306 876 val = utilsc.wxDateTime_UNow(*_args,**_kwargs)
7108497a
RD
877 if val: val = wxDateTimePtr(val); val.thisown = 1
878 return val
879
e6056257 880def wxDateTime_Today(*_args, **_kwargs):
d84a9306 881 val = utilsc.wxDateTime_Today(*_args,**_kwargs)
e6056257
RD
882 if val: val = wxDateTimePtr(val); val.thisown = 1
883 return val
884
885def wxTimeSpan_Seconds(*_args, **_kwargs):
d84a9306 886 val = utilsc.wxTimeSpan_Seconds(*_args,**_kwargs)
e6056257
RD
887 if val: val = wxTimeSpanPtr(val); val.thisown = 1
888 return val
889
890def wxTimeSpan_Second(*_args, **_kwargs):
d84a9306 891 val = utilsc.wxTimeSpan_Second(*_args,**_kwargs)
e6056257
RD
892 if val: val = wxTimeSpanPtr(val); val.thisown = 1
893 return val
894
895def wxTimeSpan_Minutes(*_args, **_kwargs):
d84a9306 896 val = utilsc.wxTimeSpan_Minutes(*_args,**_kwargs)
e6056257
RD
897 if val: val = wxTimeSpanPtr(val); val.thisown = 1
898 return val
899
900def wxTimeSpan_Minute(*_args, **_kwargs):
d84a9306 901 val = utilsc.wxTimeSpan_Minute(*_args,**_kwargs)
e6056257
RD
902 if val: val = wxTimeSpanPtr(val); val.thisown = 1
903 return val
904
905def wxTimeSpan_Hours(*_args, **_kwargs):
d84a9306 906 val = utilsc.wxTimeSpan_Hours(*_args,**_kwargs)
e6056257
RD
907 if val: val = wxTimeSpanPtr(val); val.thisown = 1
908 return val
909
910def wxTimeSpan_Hour(*_args, **_kwargs):
d84a9306 911 val = utilsc.wxTimeSpan_Hour(*_args,**_kwargs)
e6056257
RD
912 if val: val = wxTimeSpanPtr(val); val.thisown = 1
913 return val
914
915def wxTimeSpan_Days(*_args, **_kwargs):
d84a9306 916 val = utilsc.wxTimeSpan_Days(*_args,**_kwargs)
e6056257
RD
917 if val: val = wxTimeSpanPtr(val); val.thisown = 1
918 return val
919
920def wxTimeSpan_Day(*_args, **_kwargs):
d84a9306 921 val = utilsc.wxTimeSpan_Day(*_args,**_kwargs)
e6056257
RD
922 if val: val = wxTimeSpanPtr(val); val.thisown = 1
923 return val
924
925def wxTimeSpan_Weeks(*_args, **_kwargs):
d84a9306 926 val = utilsc.wxTimeSpan_Weeks(*_args,**_kwargs)
e6056257
RD
927 if val: val = wxTimeSpanPtr(val); val.thisown = 1
928 return val
929
930def wxTimeSpan_Week(*_args, **_kwargs):
d84a9306 931 val = utilsc.wxTimeSpan_Week(*_args,**_kwargs)
e6056257
RD
932 if val: val = wxTimeSpanPtr(val); val.thisown = 1
933 return val
934
935def wxDateSpan_Days(*_args, **_kwargs):
d84a9306 936 val = utilsc.wxDateSpan_Days(*_args,**_kwargs)
e6056257
RD
937 if val: val = wxDateSpanPtr(val); val.thisown = 1
938 return val
939
940def wxDateSpan_Day(*_args, **_kwargs):
d84a9306 941 val = utilsc.wxDateSpan_Day(*_args,**_kwargs)
e6056257
RD
942 if val: val = wxDateSpanPtr(val); val.thisown = 1
943 return val
944
945def wxDateSpan_Weeks(*_args, **_kwargs):
d84a9306 946 val = utilsc.wxDateSpan_Weeks(*_args,**_kwargs)
e6056257
RD
947 if val: val = wxDateSpanPtr(val); val.thisown = 1
948 return val
949
950def wxDateSpan_Week(*_args, **_kwargs):
d84a9306 951 val = utilsc.wxDateSpan_Week(*_args,**_kwargs)
e6056257
RD
952 if val: val = wxDateSpanPtr(val); val.thisown = 1
953 return val
954
955def wxDateSpan_Months(*_args, **_kwargs):
d84a9306 956 val = utilsc.wxDateSpan_Months(*_args,**_kwargs)
e6056257
RD
957 if val: val = wxDateSpanPtr(val); val.thisown = 1
958 return val
959
960def wxDateSpan_Month(*_args, **_kwargs):
d84a9306 961 val = utilsc.wxDateSpan_Month(*_args,**_kwargs)
e6056257
RD
962 if val: val = wxDateSpanPtr(val); val.thisown = 1
963 return val
964
965def wxDateSpan_Years(*_args, **_kwargs):
d84a9306 966 val = utilsc.wxDateSpan_Years(*_args,**_kwargs)
e6056257
RD
967 if val: val = wxDateSpanPtr(val); val.thisown = 1
968 return val
969
970def wxDateSpan_Year(*_args, **_kwargs):
d84a9306 971 val = utilsc.wxDateSpan_Year(*_args,**_kwargs)
e6056257
RD
972 if val: val = wxDateSpanPtr(val); val.thisown = 1
973 return val
974
975
976
977#-------------- VARIABLE WRAPPERS ------------------
978
979wxCONFIG_USE_LOCAL_FILE = utilsc.wxCONFIG_USE_LOCAL_FILE
980wxCONFIG_USE_GLOBAL_FILE = utilsc.wxCONFIG_USE_GLOBAL_FILE
981wxCONFIG_USE_RELATIVE_PATH = utilsc.wxCONFIG_USE_RELATIVE_PATH
3e1f6ec4 982wxCONFIG_USE_NO_ESCAPE_CHARACTERS = utilsc.wxCONFIG_USE_NO_ESCAPE_CHARACTERS