dabo Commit
Revision 7157
Date: 2012-04-28 08:40:22 -0700 (Sat, 28 Apr 2012)
Author: Ed
Trac: http://trac.dabodev.com/changeset/7157
Changed:
U trunk/dabo/biz/dBizobj.py
U trunk/dabo/dApp.py
U trunk/dabo/dEvents.py
U trunk/dabo/db/dbMsSQL.py
U trunk/dabo/db/dbSQLite.py
U trunk/dabo/lib/eventMixin.py
U trunk/dabo/lib/propertyHelperMixin.py
U trunk/dabo/lib/utils.py
U trunk/dabo/ui/dDataControlMixinBase.py
U trunk/dabo/ui/dialogs/infoMessage.py
U trunk/dabo/ui/uiwx/__init__.py
U trunk/dabo/ui/uiwx/dDatePicker.py
U trunk/dabo/ui/uiwx/dForm.py
U trunk/dabo/ui/uiwx/dHtmlBox.py
U trunk/dabo/ui/uiwx/dImage.py
U trunk/dabo/ui/uiwx/dLinePlot.py
U trunk/dabo/ui/uiwx/dMaskedTextBox.py
U trunk/dabo/ui/uiwx/dNumericBox.py
U trunk/dabo/ui/uiwx/dRadioList.py
U trunk/dabo/ui/uiwx/dSizerMixin.py
U trunk/dabo/ui/uiwx/dTextBoxMixin.py
U trunk/dabo/ui/uiwx/dTreeView.py
U trunk/dabo/ui/uiwx/object_inspector.py
U trunk/dabo/ui/uiwx/uiApp.py
Log:
No logical changes - just removed trailing whitespace.
Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/biz/dBizobj.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -141,7 +141,7 @@
def _flushUnchangedCursors(self):
- """Remove all cursors from this and all children, except
current
+ """Remove all cursors from this and all children, except current
and changed cursors."""
cursors = {}
for key, cursor in self.__cursors.items():
@@ -559,11 +559,11 @@
# Finally, scan all rows only if there are still potentially
changed rows.
# The isAnyChanged() call will be expensive if there are
changes buried
# in some out-of-context child cursor, but that should be rare.
In the
- # common case, all the cancellations would have already
happened in the
+ # common case, all the cancellations would have already
happened in the
# above block, and isAnyChanged() will return False very
quickly.
if self.isAnyChanged():
self.scanChangedRows(self.cancel, allCursors=False,
- includeNewUnchanged=True,
cancelTheChildren=cancelTheChildren,
+ includeNewUnchanged=True,
cancelTheChildren=cancelTheChildren,
ignoreNoRecords=ignoreNoRecords,
reverse=True)
self._visitedKeys.clear()
self._addVisitedKey()
@@ -791,8 +791,8 @@
def getChangedStatus(self, ret=None):
"""
- Returns a dictionary of bizobj references and the results of
- getRecordStatus() on each changed row. Use to easily inspect
+ Returns a dictionary of bizobj references and the results of
+ getRecordStatus() on each changed row. Use to easily inspect
the current dirty records in the hierarchy.
"""
if not ret:
@@ -810,7 +810,7 @@
return ret
- def bizIterator(self, reversed=False, restorePointer=False,
+ def bizIterator(self, reversed=False, restorePointer=False,
flushUnchangedCursors=False):
"""
Returns an iterator that moves the bizobj's record pointer from
@@ -826,7 +826,7 @@
flushUnchangedCursors=flushUnchangedCursors)
- def bizDataIterator(self, reversed=False, restorePointer=False,
+ def bizDataIterator(self, reversed=False, restorePointer=False,
flushUnchangedCursors=False):
"""
Returns an iterator that moves the bizobj's record pointer from
@@ -839,7 +839,7 @@
is True) record after the iteration is complete unless you call
this
with restorePointer=True.
"""
- return _bizIterator(self, returnRecords=True,
reversed=reversed,
+ return _bizIterator(self, returnRecords=True, reversed=reversed,
restorePointer=restorePointer,
flushUnchangedCursors=flushUnchangedCursors)
@@ -905,7 +905,7 @@
def scanKeys(self, func, keys, *args, **kwargs):
"""
- Iterate over the specified keys (defined in KeyField) and apply
+ Iterate over the specified keys (defined in KeyField) and apply
the passed function to each.
If a passed key doesn't exist, it is ignored.
@@ -1170,7 +1170,7 @@
uiException = None
# Since the FK value can't be None, we don't need to run non
matching
- # parameters requery in such situation.
+ # parameters requery in such situation.
if not (self.Parent and self.LinkField and _childParamTuple and
\
max(_childParamTuple) is None):
# Record this in case we need to restore the record
position
@@ -1352,7 +1352,7 @@
"""Allows you to filter by any valid Python expression.
Use the field alias names, for example::
-
+
biz.filterByExpression('cust_name[0].lower() = 'a')
where cust_name is a field alias name in this record.
@@ -1523,10 +1523,10 @@
child.setCurrentParent()
# consolidation note: 1) requeryAllChildren()
checked for child.isAnyChanged();
# 2) _resetChildrenParent
instead checked for child.RowCount == 0
- # I think both are wrong. In #1, you'd never
get a requery of that child if there was
+ # I think both are wrong. In #1, you'd never
get a requery of that child if there was
# one changed record in the hierarchy, plus
there are performance issues in running
# that check. In #2, you'd never get a child
requery unless RowCount was 0. I'm leaving
- # both of those conditions out completely for
now, although that is most certainly
+ # both of those conditions out completely for
now, although that is most certainly
# wrong as well, but at least we are now
consistent in behavior between e.g. self.first()
# and self.RowNumber = 0.
if updateChildren and child.RequeryWithParent
and child.cacheExpired() \
@@ -1576,7 +1576,7 @@
sort=True, incremental=False):
"""
Search for a value in a field, and move the record pointer to
the match.
- Multiple fields can be searched by sending tuples for the val
and fld
+ Multiple fields can be searched by sending tuples for the val
and fld
arguments.
Used for searching of the bizobj's cursor for a particular
value in a
@@ -1591,7 +1591,7 @@
will be requeried, and the afterPointerMove() hook method will
fire.
If sort is True (the default), then we seek to the first
matching value
- without sorting first.
+ without sorting first.
If incremental is True (default is False), then we only compare
the first
characters up until the length of val.
@@ -1627,10 +1627,10 @@
"""
INTERNAL USE ONLY: This checks all the cursors including the
ones
out of context, and needs to be combined with the precise
function
- like:
+ like:
if self._isAnyChanged_fast() or
self._isAnyChanged_precise()...
- Which will at least be much faster (and still correct) in the
case of
+ Which will at least be much faster (and still correct) in the
case of
_isAnyChanged_fast() returning False, and not much slower
otherwise.
"""
withNewUnchanged = includeNewUnchanged
@@ -1647,7 +1647,7 @@
def _isAnyChanged_precise(self, includeNewUnchanged=None,
withChildren=True):
"""
- Return True if at least one record in the current record set
+ Return True if at least one record in the current record set
has been changed.
"""
def _isThisChanged():
@@ -1659,7 +1659,7 @@
def isAnyChanged(self, includeNewUnchanged=None, withChildren=True):
"""
- Return True if at least one record in the current record set
+ Return True if at least one record in the current record set
has been changed.
"""
if not self._isAnyChanged_fast(includeNewUnchanged):
@@ -1796,8 +1796,8 @@
"""
Add the passed child bizobj to this bizobj.
- Child bizobjs stay in sync with their parent, getting requeried
at the
- appropriate times.
+ Child bizobjs stay in sync with their parent, getting requeried
at the
+ appropriate times.
"""
if child not in self._children:
self._children.append(child)
@@ -2323,7 +2323,7 @@
"""
Creates an association in a M-M relationship. If the
relationship
already exists, nothing changes. Otherwise, this will ensure
that
- both values exist in their respective tables, and will create
the
+ both values exist in their respective tables, and will create
the
entry in the association table.
"""
return self._mmAssociatedDbCall(bizOrDS, "mmAddToBoth",
thisField, thisVal, otherField, otherVal)
@@ -2347,7 +2347,7 @@
def addFrom(self, exp, alias=None):
"""
- Add a table to the sql statement. For 1-M joins, use
+ Add a table to the sql statement. For 1-M joins, use
the addJoin() method. For M-M joins, use the
createAssociation() method.
"""
@@ -2373,7 +2373,7 @@
:param mmOtherPKCol: the name of the PK column in the
mmOtherTable
:param assocTable: the name of the table holding the
association between the two
:param assocPKColThis: the name of the column in the
association table for this PK
- :param assocPKColOther: the name of the column in the
association table for the other PK
+ :param assocPKColOther: the name of the column in the
association table for the other PK
"""
return self._CurrentCursor.createAssociation(mmOtherTable,
mmOtherPKCol, assocTable,
assocPKColThis, assocPKColOther)
@@ -2469,7 +2469,7 @@
def _addVisitedKey(self):
"""
- The _visitedKeys set is used for optimization of cancelAll()
+ The _visitedKeys set is used for optimization of cancelAll()
and saveAll(), and only applies to bizobjs with no parent.
"""
if not self.Parent and self.RowCount:
@@ -3199,7 +3199,7 @@
_("""Do we requery child bizobjs when navigating
records? (bool)
Usually, you want to automatically requery children
when the parent
- RowNumber changes. However, there may be cases when you
want to do
+ RowNumber changes. However, there may be cases when you
want to do
that requery manually at the proper time instead for
performance
reasons.
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/dApp.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -1320,8 +1320,8 @@
return
future = self.uiApp.displayInfoMessage(msg,
defaultShowInFuture=defaultShowInFuture)
self.setUserSetting(prefKey, future)
-
+
def clearActiveForm(self, frm):
"""Called by the form when it is deactivated."""
if frm is self.ActiveForm:
Modified: trunk/dabo/dEvents.py
===================================================================
--- trunk/dabo/dEvents.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/dEvents.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -593,7 +593,7 @@
As the user is rapidly calling dForm.next(), .prior(), etc.,
RowNavigation
events get raised. Your code should do some quick display updates to
indicate
- to the user that the record is changing, but the child bizobj's won't
be
+ to the user that the record is changing, but the child bizobj's won't be
requeried until after the navigation has ended.
See also RowNumChanged, which only occurs after the user has settled on
a
Modified: trunk/dabo/db/dbMsSQL.py
===================================================================
--- trunk/dabo/db/dbMsSQL.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/db/dbMsSQL.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -24,7 +24,7 @@
DSN is really the name of the connection for FreeTDS ::
__init__(self, dsn, user, passwd, database = None, strip = 0)
-
+
"""
import pymssql
Modified: trunk/dabo/db/dbSQLite.py
===================================================================
--- trunk/dabo/db/dbSQLite.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/db/dbSQLite.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -69,7 +69,7 @@
# Need to specify "isolation_level=None" to have transactions
working correctly.
self._connection = self.dbapi.connect(pth,
factory=DictConnection, isolation_level=None)
- # Non-utf8-encoded bytestrings could be in the database, and
Dabo will try various encodings
+ # Non-utf8-encoded bytestrings could be in the database, and
Dabo will try various encodings
# to deal with it. So tell sqlite not to decode with utf-8, but
to just return the bytes:
self._connection.text_factory = str
Modified: trunk/dabo/lib/eventMixin.py
===================================================================
--- trunk/dabo/lib/eventMixin.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/lib/eventMixin.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -34,7 +34,7 @@
Send the event to all registered listeners.
If uiEvent is sent, dEvents.Event will be able to parse it for
useful
- information to send along to the callback.
+ information to send along to the callback.
Additional arguments, if any, are sent along to the constructor
of the
event. While this feature exists so that UI-lib event handlers
can pass
Modified: trunk/dabo/lib/propertyHelperMixin.py
===================================================================
--- trunk/dabo/lib/propertyHelperMixin.py 2012-04-27 21:04:01 UTC (rev
7156)
+++ trunk/dabo/lib/propertyHelperMixin.py 2012-04-28 15:40:22 UTC (rev
7157)
@@ -349,7 +349,7 @@
class _DynamicList(list):
"""
- Helper class for list-based properties, such as the 'Choices' property
of
+ Helper class for list-based properties, such as the 'Choices' property
of
list-type controls. This wraps the regular Python list object, but in
addition
also propagates changes to the control, so that code like this:
Modified: trunk/dabo/lib/utils.py
===================================================================
--- trunk/dabo/lib/utils.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/lib/utils.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -216,11 +216,11 @@
## Faster for all-ascii strings and converting from
non-basestring types::
return unicode(value)
except UnicodeDecodeError:
- # Most likely there were bytes whose integer ordinal were > 127
and so the
+ # Most likely there were bytes whose integer ordinal were > 127
and so the
# default ASCII codec used by unicode() couldn't decode them.
pass
except UnicodeEncodeError:
- # Most likely there were bytes whose integer ordinal were > 127
and so the
+ # Most likely there were bytes whose integer ordinal were > 127
and so the
# default ASCII codec used by unicode() couldn't encode them.
pass
for ln in getEncodings():
Modified: trunk/dabo/ui/dDataControlMixinBase.py
===================================================================
--- trunk/dabo/ui/dDataControlMixinBase.py 2012-04-27 21:04:01 UTC (rev
7156)
+++ trunk/dabo/ui/dDataControlMixinBase.py 2012-04-28 15:40:22 UTC (rev
7157)
@@ -272,7 +272,7 @@
return
setattr(self.Source,
self.DataField, curVal)
except
(dException.NoRecordsException, dException.RowNotFoundException):
- # UI called
flushValue() when there wasn't a valid record active.
+ # UI called
flushValue() when there wasn't a valid record active.
# Treat as spurious and
ignore.
pass
else:
Modified: trunk/dabo/ui/dialogs/infoMessage.py
===================================================================
--- trunk/dabo/ui/dialogs/infoMessage.py 2012-04-27 21:04:01 UTC (rev
7156)
+++ trunk/dabo/ui/dialogs/infoMessage.py 2012-04-28 15:40:22 UTC (rev
7157)
@@ -24,7 +24,7 @@
def addControls(self):
vs = self.Sizer = dabo.ui.dSizer("v", DefaultBorder=10)
vs.append1x(LblMessage(self, RegID="lblMessage",
Caption=self.Message))
- vs.append(dabo.ui.dCheckBox(self, Caption=_("Show this message
in the future?"),
+ vs.append(dabo.ui.dCheckBox(self, Caption=_("Show this message
in the future?"),
Value=self.DefaultShowInFuture,
RegID="chkShowInFuture",
FontSize=9))
@@ -43,7 +43,7 @@
self._message = val
- DefaultShowInFuture = property(_getDefaultShowInFuture,
_setDefaultShowInFuture, None,
+ DefaultShowInFuture = property(_getDefaultShowInFuture,
_setDefaultShowInFuture, None,
_("Specifies whether the 'show in future' checkbox is
checked by default."))
Message = property(_getMessage, _setMessage, None,
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/__init__.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -1462,7 +1462,7 @@
def _onKeyDown(self, evt):
ed = evt.EventData
- key, mod, shift = (ed["keyCode"], ed["hasModifiers"],
+ key, mod, shift = (ed["keyCode"], ed["hasModifiers"],
ed["shiftDown"] or getattr(self,
"_shiftDown", False))
ctrl = self._control
grid = self._grid
Modified: trunk/dabo/ui/uiwx/dDatePicker.py
===================================================================
--- trunk/dabo/ui/uiwx/dDatePicker.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dDatePicker.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -87,7 +87,7 @@
self.Value += datetime.timedelta(days)
def monthInterval(self, months):
- """Adjusts the date by the given number of months; negative
+ """Adjusts the date by the given number of months; negative
values move backwards.
"""
val = self.Value
Modified: trunk/dabo/ui/uiwx/dForm.py
===================================================================
--- trunk/dabo/ui/uiwx/dForm.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dForm.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -115,7 +115,7 @@
This method is called repeatedly from many different places
during
a single change in the UI, so by default the actual execution
is cached
- using callAfterInterval(). The default interval is the value of
the
+ using callAfterInterval(). The default interval is the value of
the
DataUpdateDelay property, which in turn defaults to 100
milliseconds. You
can change that to suit your app needs by passing a different
interval
in milliseconds.
@@ -792,7 +792,7 @@
pass
def afterRowNavigation(self):
"""
- Called after the PrimaryBizobj's RowNumber has changed,
+ Called after the PrimaryBizobj's RowNumber has changed,
but before the form updates.
"""
pass
@@ -992,7 +992,7 @@
operation that led to the dialog being presented."""))
DataUpdateDelay = property(_getDataUpdateDelay, _setDataUpdateDelay,
None,
- _("""Specifies synchronization delay in data updates
from business
+ _("""Specifies synchronization delay in data updates
from business
to UI layer. (int; default:100 [ms])
Set to 0 or None to ensure controls reflect immediately
to the data changes.."""))
@@ -1011,13 +1011,13 @@
Set to 0 or None to ensure that all controls reflect
immediately to the data changes.
Setting to a positive non-zero value will result in the
following behavior:
- As the row number changes, dEvents.RowNavigation events
will fire and the
- afterRowNavigation() hook method will be called,
allowing your form code to update a
+ As the row number changes, dEvents.RowNavigation events
will fire and the
+ afterRowNavigation() hook method will be called,
allowing your form code to update a
specific set of controls so the user knows the records
are being navigated. The
default behavior will reflect the current row number in
the form's status bar as
row navigation is occurring.
- After a navigation and the RowNavigationDelay has
passed, the form will be
+ After a navigation and the RowNavigationDelay has
passed, the form will be
completely updated and refreshed. dEvents.RowNumChanged
will be fired, and the
hook afterPointerMove() will be called.
Modified: trunk/dabo/ui/uiwx/dHtmlBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dHtmlBox.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dHtmlBox.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -93,7 +93,7 @@
kwargs[name] = value
except ValueError:
args.append(qsarg)
- getattr(obj, meth)(*args, **kwargs)
+ getattr(obj, meth)(*args, **kwargs)
def copy(self):
Modified: trunk/dabo/ui/uiwx/dImage.py
===================================================================
--- trunk/dabo/ui/uiwx/dImage.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dImage.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -157,7 +157,7 @@
def _showPic(self):
- """Displays the picture according to the ScaleMode and image
size, as
+ """Displays the picture according to the ScaleMode and image
size, as
well as any applied rotation and/or mirroring.
"""
if self._inShowPic:
Modified: trunk/dabo/ui/uiwx/dLinePlot.py
===================================================================
--- trunk/dabo/ui/uiwx/dLinePlot.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dLinePlot.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -236,7 +236,7 @@
dc.SetBrush(wx.Brush( wx.BLACK, wx.SOLID ) )
# scaled x,y of closest point
- sx, sy = mDataDict["scaledXY"]
+ sx, sy = mDataDict["scaledXY"]
# 10by10 square centered on point
dc.DrawRectangle(sx-5, sy-5, 10, 10)
px,py = mDataDict["pointXY"]
Modified: trunk/dabo/ui/uiwx/dMaskedTextBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dMaskedTextBox.py 2012-04-27 21:04:01 UTC (rev
7156)
+++ trunk/dabo/ui/uiwx/dMaskedTextBox.py 2012-04-28 15:40:22 UTC (rev
7157)
@@ -105,7 +105,7 @@
def _onWxHit(self, evt, *args, **kwargs):
- # This fixes wx masked control issue firing multiple EVT_TEXT
events.
+ # This fixes wx masked control issue firing multiple EVT_TEXT
events.
if self._value != self.Value:
super(dMaskedTextBox, self)._onWxHit(evt, *args,
**kwargs)
Modified: trunk/dabo/ui/uiwx/dNumericBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dNumericBox.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dNumericBox.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -122,7 +122,7 @@
# self.setFocus()
def _onWxHit(self, evt, *args, **kwargs):
- # This fix wx masked controls issue firing multiple EVT_TEXT
events.
+ # This fix wx masked controls issue firing multiple EVT_TEXT
events.
if self._value != self.Value:
super(dNumericBox, self)._onWxHit(evt, *args, **kwargs)
Modified: trunk/dabo/ui/uiwx/dRadioList.py
===================================================================
--- trunk/dabo/ui/uiwx/dRadioList.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dRadioList.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -207,7 +207,7 @@
# Passing wxEvt as uiEvent parameter
under some conditions
# causes Python interpreter crash or
unspecified problems
# with GC. I decided to remove this
reference for both,
- # GotFocus and LostFocus event of
control to retain symmetry.
+ # GotFocus and LostFocus event of
control to retain symmetry.
self.raiseEvent(dEvents.LostFocus)
# Normal changing selection of buttons will cause buttons to
lose focus;
Modified: trunk/dabo/ui/uiwx/dSizerMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dSizerMixin.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dSizerMixin.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -230,7 +230,7 @@
if self.Orientation == "Vertical":
spacer = (0, val)
else:
- spacer = (val, 0)
+ spacer = (val, 0)
if pos is None:
itm = self.Add(spacer, proportion=proportion,
userData=self)
else:
Modified: trunk/dabo/ui/uiwx/dTextBoxMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dTextBoxMixin.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dTextBoxMixin.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -805,12 +805,12 @@
When True, if the user clears the textbox value, such
as by selecting all
and pressing the space bar or delete, the value will
become 0 when the
- control loses focus.
+ control loses focus.
- When False, the value will revert back to the last
numeric value when the
+ When False, the value will revert back to the last
numeric value when the
control loses focus.
- The default comes from
dabo.dTextBox_NumericBlankToZero, which defaults to
+ The default comes from
dabo.dTextBox_NumericBlankToZero, which defaults to
False."""))
PasswordEntry = property(_getPasswordEntry, _setPasswordEntry, None,
Modified: trunk/dabo/ui/uiwx/dTreeView.py
===================================================================
--- trunk/dabo/ui/uiwx/dTreeView.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/dTreeView.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -851,7 +851,7 @@
"""
Make this dTreeView show a filesystem directory hierarchy. You
can specify a wildcard pattern: e.g., "\*py" will only include
files
- ending in 'py'. You can also pass a list of wildcards, and
files
+ ending in 'py'. You can also pass a list of wildcards, and files
matching any of these will be included in the tree. If no
wildcard
is specified, all files will be included.
Modified: trunk/dabo/ui/uiwx/object_inspector.py
===================================================================
--- trunk/dabo/ui/uiwx/object_inspector.py 2012-04-27 21:04:01 UTC (rev
7156)
+++ trunk/dabo/ui/uiwx/object_inspector.py 2012-04-28 15:40:22 UTC (rev
7157)
@@ -348,8 +348,8 @@
# Make sure outline is visible
xDraw = max(0, x-3)
yDraw = max(0, y-3)
- wDraw = min(frm.Width-xDraw, obj.Width+6)
- hDraw = min(frm.Height-yDraw, obj.Height+6)
+ wDraw = min(frm.Width-xDraw, obj.Width+6)
+ hDraw = min(frm.Height-yDraw, obj.Height+6)
entry["drawingToClear"] = frm.drawRectangle(xDraw, yDraw,
wDraw, hDraw,
penWidth=3, penColor="magenta")
]]>
Modified: trunk/dabo/ui/uiwx/uiApp.py
===================================================================
--- trunk/dabo/ui/uiwx/uiApp.py 2012-04-27 21:04:01 UTC (rev 7156)
+++ trunk/dabo/ui/uiwx/uiApp.py 2012-04-28 15:40:22 UTC (rev 7157)
@@ -419,7 +419,7 @@
def setup(self):
-
wx.SystemOptions.SetOptionInt("mac.textcontrol-use-spell-checker", 1)
+
wx.SystemOptions.SetOptionInt("mac.textcontrol-use-spell-checker", 1)
frm = self.dApp.MainForm
if frm is None:
if self.dApp.MainFormClass is not None:
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]