]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/utils.py
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / wxPython / src / msw / utils.py
CommitLineData
f6bcfd97
BP
1# This file was created automatically by SWIG.
2import utilsc
3import string
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
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)
18 return val
19 def DeleteEntry(self, *_args, **_kwargs):
20 val = apply(utilsc.wxConfigBase_DeleteEntry,(self,) + _args, _kwargs)
21 return val
22 def DeleteGroup(self, *_args, **_kwargs):
23 val = apply(utilsc.wxConfigBase_DeleteGroup,(self,) + _args, _kwargs)
24 return val
25 def Exists(self, *_args, **_kwargs):
26 val = apply(utilsc.wxConfigBase_Exists,(self,) + _args, _kwargs)
27 return val
28 def Flush(self, *_args, **_kwargs):
29 val = apply(utilsc.wxConfigBase_Flush,(self,) + _args, _kwargs)
30 return val
31 def GetAppName(self, *_args, **_kwargs):
32 val = apply(utilsc.wxConfigBase_GetAppName,(self,) + _args, _kwargs)
33 return val
34 def GetFirstGroup(self, *_args, **_kwargs):
35 val = apply(utilsc.wxConfigBase_GetFirstGroup,(self,) + _args, _kwargs)
36 return val
37 def GetFirstEntry(self, *_args, **_kwargs):
38 val = apply(utilsc.wxConfigBase_GetFirstEntry,(self,) + _args, _kwargs)
39 return val
40 def GetNextGroup(self, *_args, **_kwargs):
41 val = apply(utilsc.wxConfigBase_GetNextGroup,(self,) + _args, _kwargs)
42 return val
43 def GetNextEntry(self, *_args, **_kwargs):
44 val = apply(utilsc.wxConfigBase_GetNextEntry,(self,) + _args, _kwargs)
45 return val
46 def GetNumberOfEntries(self, *_args, **_kwargs):
47 val = apply(utilsc.wxConfigBase_GetNumberOfEntries,(self,) + _args, _kwargs)
48 return val
49 def GetNumberOfGroups(self, *_args, **_kwargs):
50 val = apply(utilsc.wxConfigBase_GetNumberOfGroups,(self,) + _args, _kwargs)
51 return val
52 def GetPath(self, *_args, **_kwargs):
53 val = apply(utilsc.wxConfigBase_GetPath,(self,) + _args, _kwargs)
54 return val
55 def GetVendorName(self, *_args, **_kwargs):
56 val = apply(utilsc.wxConfigBase_GetVendorName,(self,) + _args, _kwargs)
57 return val
58 def HasEntry(self, *_args, **_kwargs):
59 val = apply(utilsc.wxConfigBase_HasEntry,(self,) + _args, _kwargs)
60 return val
61 def HasGroup(self, *_args, **_kwargs):
62 val = apply(utilsc.wxConfigBase_HasGroup,(self,) + _args, _kwargs)
63 return val
64 def IsExpandingEnvVars(self, *_args, **_kwargs):
65 val = apply(utilsc.wxConfigBase_IsExpandingEnvVars,(self,) + _args, _kwargs)
66 return val
67 def IsRecordingDefaults(self, *_args, **_kwargs):
68 val = apply(utilsc.wxConfigBase_IsRecordingDefaults,(self,) + _args, _kwargs)
69 return val
70 def Read(self, *_args, **_kwargs):
71 val = apply(utilsc.wxConfigBase_Read,(self,) + _args, _kwargs)
72 return val
73 def ReadInt(self, *_args, **_kwargs):
74 val = apply(utilsc.wxConfigBase_ReadInt,(self,) + _args, _kwargs)
75 return val
76 def ReadFloat(self, *_args, **_kwargs):
77 val = apply(utilsc.wxConfigBase_ReadFloat,(self,) + _args, _kwargs)
78 return val
79 def SetExpandEnvVars(self, *_args, **_kwargs):
80 val = apply(utilsc.wxConfigBase_SetExpandEnvVars,(self,) + _args, _kwargs)
81 return val
82 def SetPath(self, *_args, **_kwargs):
83 val = apply(utilsc.wxConfigBase_SetPath,(self,) + _args, _kwargs)
84 return val
85 def SetRecordDefaults(self, *_args, **_kwargs):
86 val = apply(utilsc.wxConfigBase_SetRecordDefaults,(self,) + _args, _kwargs)
87 return val
88 def SetAppName(self, *_args, **_kwargs):
89 val = apply(utilsc.wxConfigBase_SetAppName,(self,) + _args, _kwargs)
90 return val
91 def SetVendorName(self, *_args, **_kwargs):
92 val = apply(utilsc.wxConfigBase_SetVendorName,(self,) + _args, _kwargs)
93 return val
94 def SetStyle(self, *_args, **_kwargs):
95 val = apply(utilsc.wxConfigBase_SetStyle,(self,) + _args, _kwargs)
96 return val
97 def GetStyle(self, *_args, **_kwargs):
98 val = apply(utilsc.wxConfigBase_GetStyle,(self,) + _args, _kwargs)
99 return val
100 def Write(self, *_args, **_kwargs):
101 val = apply(utilsc.wxConfigBase_Write,(self,) + _args, _kwargs)
102 return val
103 def WriteInt(self, *_args, **_kwargs):
104 val = apply(utilsc.wxConfigBase_WriteInt,(self,) + _args, _kwargs)
105 return val
106 def WriteFloat(self, *_args, **_kwargs):
107 val = apply(utilsc.wxConfigBase_WriteFloat,(self,) + _args, _kwargs)
108 return val
109 def GetEntryType(self, *_args, **_kwargs):
110 val = apply(utilsc.wxConfigBase_GetEntryType,(self,) + _args, _kwargs)
111 return val
112 def RenameEntry(self, *_args, **_kwargs):
113 val = apply(utilsc.wxConfigBase_RenameEntry,(self,) + _args, _kwargs)
114 return val
115 def RenameGroup(self, *_args, **_kwargs):
116 val = apply(utilsc.wxConfigBase_RenameGroup,(self,) + _args, _kwargs)
117 return val
118 def ExpandEnvVars(self, *_args, **_kwargs):
119 val = apply(utilsc.wxConfigBase_ExpandEnvVars,(self,) + _args, _kwargs)
120 return val
121 def __repr__(self):
122 return "<C wxConfigBase instance at %s>" % (self.this,)
123class wxConfigBase(wxConfigBasePtr):
124 def __init__(self,this):
125 self.this = this
126
127
128
129
130class wxConfigPtr(wxConfigBasePtr):
131 def __init__(self,this):
132 self.this = this
133 self.thisown = 0
134 def __del__(self,utilsc=utilsc):
135 if self.thisown == 1 :
136 utilsc.delete_wxConfig(self)
137 def __repr__(self):
138 return "<C wxConfig instance at %s>" % (self.this,)
139class wxConfig(wxConfigPtr):
140 def __init__(self,*_args,**_kwargs):
141 self.this = apply(utilsc.new_wxConfig,_args,_kwargs)
142 self.thisown = 1
143
144
145
146
147class wxFileConfigPtr(wxConfigBasePtr):
148 def __init__(self,this):
149 self.this = this
150 self.thisown = 0
151 def __del__(self,utilsc=utilsc):
152 if self.thisown == 1 :
153 utilsc.delete_wxFileConfig(self)
154 def __repr__(self):
155 return "<C wxFileConfig instance at %s>" % (self.this,)
156class wxFileConfig(wxFileConfigPtr):
157 def __init__(self,*_args,**_kwargs):
158 self.this = apply(utilsc.new_wxFileConfig,_args,_kwargs)
159 self.thisown = 1
160
161
162
163
164class 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):
257 self.this = this
258 self.thisown = 0
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)
265 return val
266 def SetTimeT(self, *_args, **_kwargs):
267 val = apply(utilsc.wxDateTime_SetTimeT,(self,) + _args, _kwargs)
268 if val: val = wxDateTimePtr(val)
269 return val
270 def SetJDN(self, *_args, **_kwargs):
271 val = apply(utilsc.wxDateTime_SetJDN,(self,) + _args, _kwargs)
272 if val: val = wxDateTimePtr(val)
273 return val
274 def SetHMS(self, *_args, **_kwargs):
275 val = apply(utilsc.wxDateTime_SetHMS,(self,) + _args, _kwargs)
276 if val: val = wxDateTimePtr(val)
277 return val
278 def Set(self, *_args, **_kwargs):
279 val = apply(utilsc.wxDateTime_Set,(self,) + _args, _kwargs)
280 if val: val = wxDateTimePtr(val)
281 return val
282 def ResetTime(self, *_args, **_kwargs):
283 val = apply(utilsc.wxDateTime_ResetTime,(self,) + _args, _kwargs)
284 if val: val = wxDateTimePtr(val)
285 return val
286 def SetYear(self, *_args, **_kwargs):
287 val = apply(utilsc.wxDateTime_SetYear,(self,) + _args, _kwargs)
288 if val: val = wxDateTimePtr(val)
289 return val
290 def SetMonth(self, *_args, **_kwargs):
291 val = apply(utilsc.wxDateTime_SetMonth,(self,) + _args, _kwargs)
292 if val: val = wxDateTimePtr(val)
293 return val
294 def SetDay(self, *_args, **_kwargs):
295 val = apply(utilsc.wxDateTime_SetDay,(self,) + _args, _kwargs)
296 if val: val = wxDateTimePtr(val)
297 return val
298 def SetHour(self, *_args, **_kwargs):
299 val = apply(utilsc.wxDateTime_SetHour,(self,) + _args, _kwargs)
300 if val: val = wxDateTimePtr(val)
301 return val
302 def SetMinute(self, *_args, **_kwargs):
303 val = apply(utilsc.wxDateTime_SetMinute,(self,) + _args, _kwargs)
304 if val: val = wxDateTimePtr(val)
305 return val
306 def SetSecond(self, *_args, **_kwargs):
307 val = apply(utilsc.wxDateTime_SetSecond,(self,) + _args, _kwargs)
308 if val: val = wxDateTimePtr(val)
309 return val
310 def SetMillisecond(self, *_args, **_kwargs):
311 val = apply(utilsc.wxDateTime_SetMillisecond,(self,) + _args, _kwargs)
312 if val: val = wxDateTimePtr(val)
313 return val
314 def SetToWeekDayInSameWeek(self, *_args, **_kwargs):
315 val = apply(utilsc.wxDateTime_SetToWeekDayInSameWeek,(self,) + _args, _kwargs)
316 if val: val = wxDateTimePtr(val)
317 return 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
321 return val
322 def SetToNextWeekDay(self, *_args, **_kwargs):
323 val = apply(utilsc.wxDateTime_SetToNextWeekDay,(self,) + _args, _kwargs)
324 if val: val = wxDateTimePtr(val)
325 return 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
329 return val
330 def SetToPrevWeekDay(self, *_args, **_kwargs):
331 val = apply(utilsc.wxDateTime_SetToPrevWeekDay,(self,) + _args, _kwargs)
332 if val: val = wxDateTimePtr(val)
333 return 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
337 return val
338 def SetToWeekDay(self, *_args, **_kwargs):
339 val = apply(utilsc.wxDateTime_SetToWeekDay,(self,) + _args, _kwargs)
340 return val
f6bcfd97
BP
341 def SetToLastWeekDay(self, *_args, **_kwargs):
342 val = apply(utilsc.wxDateTime_SetToLastWeekDay,(self,) + _args, _kwargs)
343 return val
344 def GetLastWeekDay(self, *_args, **_kwargs):
345 val = apply(utilsc.wxDateTime_GetLastWeekDay,(self,) + _args, _kwargs)
346 if val: val = wxDateTimePtr(val) ; val.thisown = 1
347 return val
348 def SetToTheWeek(self, *_args, **_kwargs):
349 val = apply(utilsc.wxDateTime_SetToTheWeek,(self,) + _args, _kwargs)
350 return val
351 def GetWeek(self, *_args, **_kwargs):
352 val = apply(utilsc.wxDateTime_GetWeek,(self,) + _args, _kwargs)
353 if val: val = wxDateTimePtr(val) ; val.thisown = 1
354 return val
355 def SetToLastMonthDay(self, *_args, **_kwargs):
356 val = apply(utilsc.wxDateTime_SetToLastMonthDay,(self,) + _args, _kwargs)
357 if val: val = wxDateTimePtr(val)
358 return val
359 def GetLastMonthDay(self, *_args, **_kwargs):
360 val = apply(utilsc.wxDateTime_GetLastMonthDay,(self,) + _args, _kwargs)
361 if val: val = wxDateTimePtr(val) ; val.thisown = 1
362 return val
363 def SetToYearDay(self, *_args, **_kwargs):
364 val = apply(utilsc.wxDateTime_SetToYearDay,(self,) + _args, _kwargs)
365 if val: val = wxDateTimePtr(val)
366 return val
367 def GetYearDay(self, *_args, **_kwargs):
368 val = apply(utilsc.wxDateTime_GetYearDay,(self,) + _args, _kwargs)
369 if val: val = wxDateTimePtr(val) ; val.thisown = 1
370 return val
371 def GetJulianDayNumber(self, *_args, **_kwargs):
372 val = apply(utilsc.wxDateTime_GetJulianDayNumber,(self,) + _args, _kwargs)
373 return val
374 def GetJDN(self, *_args, **_kwargs):
375 val = apply(utilsc.wxDateTime_GetJDN,(self,) + _args, _kwargs)
376 return val
377 def GetModifiedJulianDayNumber(self, *_args, **_kwargs):
378 val = apply(utilsc.wxDateTime_GetModifiedJulianDayNumber,(self,) + _args, _kwargs)
379 return val
380 def GetMJD(self, *_args, **_kwargs):
381 val = apply(utilsc.wxDateTime_GetMJD,(self,) + _args, _kwargs)
382 return val
383 def GetRataDie(self, *_args, **_kwargs):
384 val = apply(utilsc.wxDateTime_GetRataDie,(self,) + _args, _kwargs)
385 return val
386 def ToTimezone(self, *_args, **_kwargs):
387 val = apply(utilsc.wxDateTime_ToTimezone,(self,) + _args, _kwargs)
388 if val: val = wxDateTimePtr(val) ; val.thisown = 1
389 return val
390 def MakeTimezone(self, *_args, **_kwargs):
391 val = apply(utilsc.wxDateTime_MakeTimezone,(self,) + _args, _kwargs)
392 if val: val = wxDateTimePtr(val)
393 return val
394 def ToGMT(self, *_args, **_kwargs):
395 val = apply(utilsc.wxDateTime_ToGMT,(self,) + _args, _kwargs)
396 if val: val = wxDateTimePtr(val) ; val.thisown = 1
397 return val
398 def MakeGMT(self, *_args, **_kwargs):
399 val = apply(utilsc.wxDateTime_MakeGMT,(self,) + _args, _kwargs)
400 if val: val = wxDateTimePtr(val)
401 return val
402 def IsDST(self, *_args, **_kwargs):
403 val = apply(utilsc.wxDateTime_IsDST,(self,) + _args, _kwargs)
404 return val
405 def IsValid(self, *_args, **_kwargs):
406 val = apply(utilsc.wxDateTime_IsValid,(self,) + _args, _kwargs)
407 return val
408 def GetTicks(self, *_args, **_kwargs):
409 val = apply(utilsc.wxDateTime_GetTicks,(self,) + _args, _kwargs)
410 return val
411 def GetYear(self, *_args, **_kwargs):
412 val = apply(utilsc.wxDateTime_GetYear,(self,) + _args, _kwargs)
413 return val
414 def GetMonth(self, *_args, **_kwargs):
415 val = apply(utilsc.wxDateTime_GetMonth,(self,) + _args, _kwargs)
416 return val
417 def GetDay(self, *_args, **_kwargs):
418 val = apply(utilsc.wxDateTime_GetDay,(self,) + _args, _kwargs)
419 return val
ecc08ead
RD
420 def GetWeekDay(self, *_args, **_kwargs):
421 val = apply(utilsc.wxDateTime_GetWeekDay,(self,) + _args, _kwargs)
422 return val
f6bcfd97
BP
423 def GetHour(self, *_args, **_kwargs):
424 val = apply(utilsc.wxDateTime_GetHour,(self,) + _args, _kwargs)
425 return val
426 def GetMinute(self, *_args, **_kwargs):
427 val = apply(utilsc.wxDateTime_GetMinute,(self,) + _args, _kwargs)
428 return val
429 def GetSecond(self, *_args, **_kwargs):
430 val = apply(utilsc.wxDateTime_GetSecond,(self,) + _args, _kwargs)
431 return val
432 def GetMillisecond(self, *_args, **_kwargs):
433 val = apply(utilsc.wxDateTime_GetMillisecond,(self,) + _args, _kwargs)
434 return val
435 def GetDayOfYear(self, *_args, **_kwargs):
436 val = apply(utilsc.wxDateTime_GetDayOfYear,(self,) + _args, _kwargs)
437 return val
438 def GetWeekOfYear(self, *_args, **_kwargs):
439 val = apply(utilsc.wxDateTime_GetWeekOfYear,(self,) + _args, _kwargs)
440 return val
441 def GetWeekOfMonth(self, *_args, **_kwargs):
442 val = apply(utilsc.wxDateTime_GetWeekOfMonth,(self,) + _args, _kwargs)
443 return val
444 def IsWorkDay(self, *_args, **_kwargs):
445 val = apply(utilsc.wxDateTime_IsWorkDay,(self,) + _args, _kwargs)
446 return val
447 def IsEqualTo(self, *_args, **_kwargs):
448 val = apply(utilsc.wxDateTime_IsEqualTo,(self,) + _args, _kwargs)
449 return val
450 def IsEarlierThan(self, *_args, **_kwargs):
451 val = apply(utilsc.wxDateTime_IsEarlierThan,(self,) + _args, _kwargs)
452 return val
453 def IsLaterThan(self, *_args, **_kwargs):
454 val = apply(utilsc.wxDateTime_IsLaterThan,(self,) + _args, _kwargs)
455 return val
456 def IsStrictlyBetween(self, *_args, **_kwargs):
457 val = apply(utilsc.wxDateTime_IsStrictlyBetween,(self,) + _args, _kwargs)
458 return val
459 def IsBetween(self, *_args, **_kwargs):
460 val = apply(utilsc.wxDateTime_IsBetween,(self,) + _args, _kwargs)
461 return val
462 def IsSameDate(self, *_args, **_kwargs):
463 val = apply(utilsc.wxDateTime_IsSameDate,(self,) + _args, _kwargs)
464 return val
465 def IsSameTime(self, *_args, **_kwargs):
466 val = apply(utilsc.wxDateTime_IsSameTime,(self,) + _args, _kwargs)
467 return val
468 def IsEqualUpTo(self, *_args, **_kwargs):
469 val = apply(utilsc.wxDateTime_IsEqualUpTo,(self,) + _args, _kwargs)
470 return val
471 def AddTS(self, *_args, **_kwargs):
472 val = apply(utilsc.wxDateTime_AddTS,(self,) + _args, _kwargs)
473 if val: val = wxDateTimePtr(val)
474 return val
475 def AddDS(self, *_args, **_kwargs):
476 val = apply(utilsc.wxDateTime_AddDS,(self,) + _args, _kwargs)
477 if val: val = wxDateTimePtr(val)
478 return val
479 def SubtractTS(self, *_args, **_kwargs):
480 val = apply(utilsc.wxDateTime_SubtractTS,(self,) + _args, _kwargs)
481 if val: val = wxDateTimePtr(val)
482 return val
483 def SubtractDS(self, *_args, **_kwargs):
484 val = apply(utilsc.wxDateTime_SubtractDS,(self,) + _args, _kwargs)
485 if val: val = wxDateTimePtr(val)
486 return val
487 def Subtract(self, *_args, **_kwargs):
488 val = apply(utilsc.wxDateTime_Subtract,(self,) + _args, _kwargs)
489 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
490 return val
491 def __add__TS(self, *_args, **_kwargs):
492 val = apply(utilsc.wxDateTime___add__TS,(self,) + _args, _kwargs)
493 if val: val = wxDateTimePtr(val) ; val.thisown = 1
494 return val
495 def __add__DS(self, *_args, **_kwargs):
496 val = apply(utilsc.wxDateTime___add__DS,(self,) + _args, _kwargs)
497 if val: val = wxDateTimePtr(val) ; val.thisown = 1
498 return val
499 def __sub__DT(self, *_args, **_kwargs):
500 val = apply(utilsc.wxDateTime___sub__DT,(self,) + _args, _kwargs)
501 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
502 return val
503 def __sub__TS(self, *_args, **_kwargs):
504 val = apply(utilsc.wxDateTime___sub__TS,(self,) + _args, _kwargs)
505 if val: val = wxDateTimePtr(val) ; val.thisown = 1
506 return val
507 def __sub__DS(self, *_args, **_kwargs):
508 val = apply(utilsc.wxDateTime___sub__DS,(self,) + _args, _kwargs)
509 if val: val = wxDateTimePtr(val) ; val.thisown = 1
510 return val
511 def __cmp__(self, *_args, **_kwargs):
512 val = apply(utilsc.wxDateTime___cmp__,(self,) + _args, _kwargs)
513 return val
514 def ParseRfc822Date(self, *_args, **_kwargs):
515 val = apply(utilsc.wxDateTime_ParseRfc822Date,(self,) + _args, _kwargs)
516 return val
517 def ParseFormat(self, *_args, **_kwargs):
518 val = apply(utilsc.wxDateTime_ParseFormat,(self,) + _args, _kwargs)
519 return val
520 def ParseDateTime(self, *_args, **_kwargs):
521 val = apply(utilsc.wxDateTime_ParseDateTime,(self,) + _args, _kwargs)
522 return val
523 def ParseDate(self, *_args, **_kwargs):
524 val = apply(utilsc.wxDateTime_ParseDate,(self,) + _args, _kwargs)
525 return val
526 def ParseTime(self, *_args, **_kwargs):
527 val = apply(utilsc.wxDateTime_ParseTime,(self,) + _args, _kwargs)
528 return val
529 def Format(self, *_args, **_kwargs):
530 val = apply(utilsc.wxDateTime_Format,(self,) + _args, _kwargs)
531 return val
532 def FormatDate(self, *_args, **_kwargs):
533 val = apply(utilsc.wxDateTime_FormatDate,(self,) + _args, _kwargs)
534 return val
535 def FormatTime(self, *_args, **_kwargs):
536 val = apply(utilsc.wxDateTime_FormatTime,(self,) + _args, _kwargs)
537 return val
538 def FormatISODate(self, *_args, **_kwargs):
539 val = apply(utilsc.wxDateTime_FormatISODate,(self,) + _args, _kwargs)
540 return val
541 def FormatISOTime(self, *_args, **_kwargs):
542 val = apply(utilsc.wxDateTime_FormatISOTime,(self,) + _args, _kwargs)
543 return val
544 def __repr__(self):
545 return "<C wxDateTime instance at %s>" % (self.this,)
546
547 def __add__(self, other):
548 if string.find(other.this, 'wxTimeSpan') != -1:
549 return self.__add__TS(other)
550 if string.find(other.this, 'wxDateSpan') != -1:
551 return self.__add__DS(other)
552 raise TypeError, 'Invalid r.h.s. type for __add__'
553 def __sub__(self, other):
554 if string.find(other.this, 'wxDateTime') != -1:
555 return self.__sub__DT(other)
556 if string.find(other.this, 'wxTimeSpan') != -1:
557 return self.__sub__TS(other)
558 if string.find(other.this, 'wxDateSpan') != -1:
559 return self.__sub__DS(other)
560 raise TypeError, 'Invalid r.h.s. type for __sub__'
561
562
563 def __repr__(self):
564 return '<wxDateTime: \"%s\" at %s>' % ( self.Format(), self.this)
565 def __str__(self):
566 return self.Format()
567
568class wxDateTime(wxDateTimePtr):
569 def __init__(self,*_args,**_kwargs):
570 self.this = apply(utilsc.new_wxDateTime,_args,_kwargs)
571 self.thisown = 1
572
573
574
575def wxDateTimeFromTimeT(*_args,**_kwargs):
576 val = wxDateTimePtr(apply(utilsc.new_wxDateTimeFromTimeT,_args,_kwargs))
577 val.thisown = 1
578 return val
579
580def wxDateTimeFromJDN(*_args,**_kwargs):
581 val = wxDateTimePtr(apply(utilsc.new_wxDateTimeFromJDN,_args,_kwargs))
582 val.thisown = 1
583 return val
584
585def wxDateTimeFromHMS(*_args,**_kwargs):
586 val = wxDateTimePtr(apply(utilsc.new_wxDateTimeFromHMS,_args,_kwargs))
587 val.thisown = 1
588 return val
589
590def wxDateTimeFromDMY(*_args,**_kwargs):
591 val = wxDateTimePtr(apply(utilsc.new_wxDateTimeFromDMY,_args,_kwargs))
592 val.thisown = 1
593 return val
594
595
596class wxTimeSpanPtr :
597 def __init__(self,this):
598 self.this = this
599 self.thisown = 0
600 def __del__(self,utilsc=utilsc):
601 if self.thisown == 1 :
602 utilsc.delete_wxTimeSpan(self)
603 def Add(self, *_args, **_kwargs):
604 val = apply(utilsc.wxTimeSpan_Add,(self,) + _args, _kwargs)
605 if val: val = wxTimeSpanPtr(val)
606 return val
607 def Subtract(self, *_args, **_kwargs):
608 val = apply(utilsc.wxTimeSpan_Subtract,(self,) + _args, _kwargs)
609 if val: val = wxTimeSpanPtr(val)
610 return val
611 def Multiply(self, *_args, **_kwargs):
612 val = apply(utilsc.wxTimeSpan_Multiply,(self,) + _args, _kwargs)
613 if val: val = wxTimeSpanPtr(val)
614 return val
615 def Neg(self, *_args, **_kwargs):
616 val = apply(utilsc.wxTimeSpan_Neg,(self,) + _args, _kwargs)
617 if val: val = wxTimeSpanPtr(val)
618 return val
619 def Abs(self, *_args, **_kwargs):
620 val = apply(utilsc.wxTimeSpan_Abs,(self,) + _args, _kwargs)
621 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
622 return val
623 def __add__(self, *_args, **_kwargs):
624 val = apply(utilsc.wxTimeSpan___add__,(self,) + _args, _kwargs)
625 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
626 return val
627 def __sub__(self, *_args, **_kwargs):
628 val = apply(utilsc.wxTimeSpan___sub__,(self,) + _args, _kwargs)
629 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
630 return val
631 def __mul__(self, *_args, **_kwargs):
632 val = apply(utilsc.wxTimeSpan___mul__,(self,) + _args, _kwargs)
633 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
634 return val
635 def __rmul__(self, *_args, **_kwargs):
636 val = apply(utilsc.wxTimeSpan___rmul__,(self,) + _args, _kwargs)
637 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
638 return val
639 def __neg__(self, *_args, **_kwargs):
640 val = apply(utilsc.wxTimeSpan___neg__,(self,) + _args, _kwargs)
641 if val: val = wxTimeSpanPtr(val) ; val.thisown = 1
642 return val
643 def __cmp__(self, *_args, **_kwargs):
644 val = apply(utilsc.wxTimeSpan___cmp__,(self,) + _args, _kwargs)
645 return val
646 def IsNull(self, *_args, **_kwargs):
647 val = apply(utilsc.wxTimeSpan_IsNull,(self,) + _args, _kwargs)
648 return val
649 def IsPositive(self, *_args, **_kwargs):
650 val = apply(utilsc.wxTimeSpan_IsPositive,(self,) + _args, _kwargs)
651 return val
652 def IsNegative(self, *_args, **_kwargs):
653 val = apply(utilsc.wxTimeSpan_IsNegative,(self,) + _args, _kwargs)
654 return val
655 def IsEqualTo(self, *_args, **_kwargs):
656 val = apply(utilsc.wxTimeSpan_IsEqualTo,(self,) + _args, _kwargs)
657 return val
658 def IsLongerThan(self, *_args, **_kwargs):
659 val = apply(utilsc.wxTimeSpan_IsLongerThan,(self,) + _args, _kwargs)
660 return val
661 def IsShorterThan(self, *_args, **_kwargs):
662 val = apply(utilsc.wxTimeSpan_IsShorterThan,(self,) + _args, _kwargs)
663 return val
664 def GetWeeks(self, *_args, **_kwargs):
665 val = apply(utilsc.wxTimeSpan_GetWeeks,(self,) + _args, _kwargs)
666 return val
667 def GetDays(self, *_args, **_kwargs):
668 val = apply(utilsc.wxTimeSpan_GetDays,(self,) + _args, _kwargs)
669 return val
670 def GetHours(self, *_args, **_kwargs):
671 val = apply(utilsc.wxTimeSpan_GetHours,(self,) + _args, _kwargs)
672 return val
673 def GetMinutes(self, *_args, **_kwargs):
674 val = apply(utilsc.wxTimeSpan_GetMinutes,(self,) + _args, _kwargs)
675 return val
676 def GetSeconds(self, *_args, **_kwargs):
677 val = apply(utilsc.wxTimeSpan_GetSeconds,(self,) + _args, _kwargs)
678 return val
679 def GetMilliseconds(self, *_args, **_kwargs):
680 val = apply(utilsc.wxTimeSpan_GetMilliseconds,(self,) + _args, _kwargs)
681 return val
682 def Format(self, *_args, **_kwargs):
683 val = apply(utilsc.wxTimeSpan_Format,(self,) + _args, _kwargs)
684 return val
685 def __repr__(self):
686 return "<C wxTimeSpan instance at %s>" % (self.this,)
687class wxTimeSpan(wxTimeSpanPtr):
688 def __init__(self,*_args,**_kwargs):
689 self.this = apply(utilsc.new_wxTimeSpan,_args,_kwargs)
690 self.thisown = 1
691
692
693
694
695class wxDateSpanPtr :
696 def __init__(self,this):
697 self.this = this
698 self.thisown = 0
699 def __del__(self,utilsc=utilsc):
700 if self.thisown == 1 :
701 utilsc.delete_wxDateSpan(self)
702 def SetYears(self, *_args, **_kwargs):
703 val = apply(utilsc.wxDateSpan_SetYears,(self,) + _args, _kwargs)
704 if val: val = wxDateSpanPtr(val)
705 return val
706 def SetMonths(self, *_args, **_kwargs):
707 val = apply(utilsc.wxDateSpan_SetMonths,(self,) + _args, _kwargs)
708 if val: val = wxDateSpanPtr(val)
709 return val
710 def SetWeeks(self, *_args, **_kwargs):
711 val = apply(utilsc.wxDateSpan_SetWeeks,(self,) + _args, _kwargs)
712 if val: val = wxDateSpanPtr(val)
713 return val
714 def SetDays(self, *_args, **_kwargs):
715 val = apply(utilsc.wxDateSpan_SetDays,(self,) + _args, _kwargs)
716 if val: val = wxDateSpanPtr(val)
717 return val
718 def GetYears(self, *_args, **_kwargs):
719 val = apply(utilsc.wxDateSpan_GetYears,(self,) + _args, _kwargs)
720 return val
721 def GetMonths(self, *_args, **_kwargs):
722 val = apply(utilsc.wxDateSpan_GetMonths,(self,) + _args, _kwargs)
723 return val
724 def GetWeeks(self, *_args, **_kwargs):
725 val = apply(utilsc.wxDateSpan_GetWeeks,(self,) + _args, _kwargs)
726 return val
727 def GetDays(self, *_args, **_kwargs):
728 val = apply(utilsc.wxDateSpan_GetDays,(self,) + _args, _kwargs)
729 return val
730 def GetTotalDays(self, *_args, **_kwargs):
731 val = apply(utilsc.wxDateSpan_GetTotalDays,(self,) + _args, _kwargs)
732 return val
733 def Add(self, *_args, **_kwargs):
734 val = apply(utilsc.wxDateSpan_Add,(self,) + _args, _kwargs)
735 if val: val = wxDateSpanPtr(val)
736 return val
737 def Subtract(self, *_args, **_kwargs):
738 val = apply(utilsc.wxDateSpan_Subtract,(self,) + _args, _kwargs)
739 if val: val = wxDateSpanPtr(val)
740 return val
741 def Neg(self, *_args, **_kwargs):
742 val = apply(utilsc.wxDateSpan_Neg,(self,) + _args, _kwargs)
743 if val: val = wxDateSpanPtr(val)
744 return val
745 def Multiply(self, *_args, **_kwargs):
746 val = apply(utilsc.wxDateSpan_Multiply,(self,) + _args, _kwargs)
747 if val: val = wxDateSpanPtr(val)
748 return val
749 def __add__(self, *_args, **_kwargs):
750 val = apply(utilsc.wxDateSpan___add__,(self,) + _args, _kwargs)
751 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
752 return val
753 def __sub__(self, *_args, **_kwargs):
754 val = apply(utilsc.wxDateSpan___sub__,(self,) + _args, _kwargs)
755 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
756 return val
757 def __mul__(self, *_args, **_kwargs):
758 val = apply(utilsc.wxDateSpan___mul__,(self,) + _args, _kwargs)
759 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
760 return val
761 def __rmul__(self, *_args, **_kwargs):
762 val = apply(utilsc.wxDateSpan___rmul__,(self,) + _args, _kwargs)
763 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
764 return val
765 def __neg__(self, *_args, **_kwargs):
766 val = apply(utilsc.wxDateSpan___neg__,(self,) + _args, _kwargs)
767 if val: val = wxDateSpanPtr(val) ; val.thisown = 1
768 return val
769 def __repr__(self):
770 return "<C wxDateSpan instance at %s>" % (self.this,)
771class wxDateSpan(wxDateSpanPtr):
772 def __init__(self,*_args,**_kwargs):
773 self.this = apply(utilsc.new_wxDateSpan,_args,_kwargs)
774 self.thisown = 1
775
776
777
778
779
780
781#-------------- FUNCTION WRAPPERS ------------------
782
783wxGetLocalTime = utilsc.wxGetLocalTime
784
785wxGetUTCTime = utilsc.wxGetUTCTime
786
787wxGetCurrentTime = utilsc.wxGetCurrentTime
788
789wxGetLocalTimeMillis = utilsc.wxGetLocalTimeMillis
790
791def wxConfigBase_Set(*_args, **_kwargs):
792 val = apply(utilsc.wxConfigBase_Set,_args,_kwargs)
793 if val: val = wxConfigBasePtr(val)
794 return val
795
796def wxConfigBase_Get(*_args, **_kwargs):
797 val = apply(utilsc.wxConfigBase_Get,_args,_kwargs)
798 if val: val = wxConfigBasePtr(val)
799 return val
800
801def wxConfigBase_Create(*_args, **_kwargs):
802 val = apply(utilsc.wxConfigBase_Create,_args,_kwargs)
803 if val: val = wxConfigBasePtr(val)
804 return val
805
806wxConfigBase_DontCreateOnDemand = utilsc.wxConfigBase_DontCreateOnDemand
807
808wxDateTime_SetCountry = utilsc.wxDateTime_SetCountry
809
810wxDateTime_GetCountry = utilsc.wxDateTime_GetCountry
811
812wxDateTime_IsWestEuropeanCountry = utilsc.wxDateTime_IsWestEuropeanCountry
813
814wxDateTime_GetCurrentYear = utilsc.wxDateTime_GetCurrentYear
815
816wxDateTime_ConvertYearToBC = utilsc.wxDateTime_ConvertYearToBC
817
818wxDateTime_GetCurrentMonth = utilsc.wxDateTime_GetCurrentMonth
819
820wxDateTime_IsLeapYear = utilsc.wxDateTime_IsLeapYear
821
822wxDateTime_GetCentury = utilsc.wxDateTime_GetCentury
823
824wxDateTime_GetNumberOfDaysinYear = utilsc.wxDateTime_GetNumberOfDaysinYear
825
826wxDateTime_GetNumberOfDaysInMonth = utilsc.wxDateTime_GetNumberOfDaysInMonth
827
828wxDateTime_GetMonthName = utilsc.wxDateTime_GetMonthName
829
830wxDateTime_GetWeekDayName = utilsc.wxDateTime_GetWeekDayName
831
832wxDateTime_GetAmPmStrings = utilsc.wxDateTime_GetAmPmStrings
833
834wxDateTime_IsDSTApplicable = utilsc.wxDateTime_IsDSTApplicable
835
836def wxDateTime_GetBeginDST(*_args, **_kwargs):
837 val = apply(utilsc.wxDateTime_GetBeginDST,_args,_kwargs)
838 if val: val = wxDateTimePtr(val); val.thisown = 1
839 return val
840
841def wxDateTime_GetEndDST(*_args, **_kwargs):
842 val = apply(utilsc.wxDateTime_GetEndDST,_args,_kwargs)
843 if val: val = wxDateTimePtr(val); val.thisown = 1
844 return val
845
846def wxDateTime_Now(*_args, **_kwargs):
847 val = apply(utilsc.wxDateTime_Now,_args,_kwargs)
848 if val: val = wxDateTimePtr(val); val.thisown = 1
849 return val
850
851def wxDateTime_Today(*_args, **_kwargs):
852 val = apply(utilsc.wxDateTime_Today,_args,_kwargs)
853 if val: val = wxDateTimePtr(val); val.thisown = 1
854 return val
855
856def wxTimeSpan_Seconds(*_args, **_kwargs):
857 val = apply(utilsc.wxTimeSpan_Seconds,_args,_kwargs)
858 if val: val = wxTimeSpanPtr(val); val.thisown = 1
859 return val
860
861def wxTimeSpan_Second(*_args, **_kwargs):
862 val = apply(utilsc.wxTimeSpan_Second,_args,_kwargs)
863 if val: val = wxTimeSpanPtr(val); val.thisown = 1
864 return val
865
866def wxTimeSpan_Minutes(*_args, **_kwargs):
867 val = apply(utilsc.wxTimeSpan_Minutes,_args,_kwargs)
868 if val: val = wxTimeSpanPtr(val); val.thisown = 1
869 return val
870
871def wxTimeSpan_Minute(*_args, **_kwargs):
872 val = apply(utilsc.wxTimeSpan_Minute,_args,_kwargs)
873 if val: val = wxTimeSpanPtr(val); val.thisown = 1
874 return val
875
876def wxTimeSpan_Hours(*_args, **_kwargs):
877 val = apply(utilsc.wxTimeSpan_Hours,_args,_kwargs)
878 if val: val = wxTimeSpanPtr(val); val.thisown = 1
879 return val
880
881def wxTimeSpan_Hour(*_args, **_kwargs):
882 val = apply(utilsc.wxTimeSpan_Hour,_args,_kwargs)
883 if val: val = wxTimeSpanPtr(val); val.thisown = 1
884 return val
885
886def wxTimeSpan_Days(*_args, **_kwargs):
887 val = apply(utilsc.wxTimeSpan_Days,_args,_kwargs)
888 if val: val = wxTimeSpanPtr(val); val.thisown = 1
889 return val
890
891def wxTimeSpan_Day(*_args, **_kwargs):
892 val = apply(utilsc.wxTimeSpan_Day,_args,_kwargs)
893 if val: val = wxTimeSpanPtr(val); val.thisown = 1
894 return val
895
896def wxTimeSpan_Weeks(*_args, **_kwargs):
897 val = apply(utilsc.wxTimeSpan_Weeks,_args,_kwargs)
898 if val: val = wxTimeSpanPtr(val); val.thisown = 1
899 return val
900
901def wxTimeSpan_Week(*_args, **_kwargs):
902 val = apply(utilsc.wxTimeSpan_Week,_args,_kwargs)
903 if val: val = wxTimeSpanPtr(val); val.thisown = 1
904 return val
905
906def wxDateSpan_Days(*_args, **_kwargs):
907 val = apply(utilsc.wxDateSpan_Days,_args,_kwargs)
908 if val: val = wxDateSpanPtr(val); val.thisown = 1
909 return val
910
911def wxDateSpan_Day(*_args, **_kwargs):
912 val = apply(utilsc.wxDateSpan_Day,_args,_kwargs)
913 if val: val = wxDateSpanPtr(val); val.thisown = 1
914 return val
915
916def wxDateSpan_Weeks(*_args, **_kwargs):
917 val = apply(utilsc.wxDateSpan_Weeks,_args,_kwargs)
918 if val: val = wxDateSpanPtr(val); val.thisown = 1
919 return val
920
921def wxDateSpan_Week(*_args, **_kwargs):
922 val = apply(utilsc.wxDateSpan_Week,_args,_kwargs)
923 if val: val = wxDateSpanPtr(val); val.thisown = 1
924 return val
925
926def wxDateSpan_Months(*_args, **_kwargs):
927 val = apply(utilsc.wxDateSpan_Months,_args,_kwargs)
928 if val: val = wxDateSpanPtr(val); val.thisown = 1
929 return val
930
931def wxDateSpan_Month(*_args, **_kwargs):
932 val = apply(utilsc.wxDateSpan_Month,_args,_kwargs)
933 if val: val = wxDateSpanPtr(val); val.thisown = 1
934 return val
935
936def wxDateSpan_Years(*_args, **_kwargs):
937 val = apply(utilsc.wxDateSpan_Years,_args,_kwargs)
938 if val: val = wxDateSpanPtr(val); val.thisown = 1
939 return val
940
941def wxDateSpan_Year(*_args, **_kwargs):
942 val = apply(utilsc.wxDateSpan_Year,_args,_kwargs)
943 if val: val = wxDateSpanPtr(val); val.thisown = 1
944 return val
945
946
947
948#-------------- VARIABLE WRAPPERS ------------------
949
950wxCONFIG_USE_LOCAL_FILE = utilsc.wxCONFIG_USE_LOCAL_FILE
951wxCONFIG_USE_GLOBAL_FILE = utilsc.wxCONFIG_USE_GLOBAL_FILE
952wxCONFIG_USE_RELATIVE_PATH = utilsc.wxCONFIG_USE_RELATIVE_PATH