Hi Robin,
Hi all,
It looks like the automatic email from the build script didn't make it
to the list... There is a preview build for you to play with at
http://wxpython.kosoftworks.com/preview/20121216/ Have fun!
Went through the demo and found the following (Windows 7, Python 2.7).
*XLSGRID demo "Example_1.xls" is not found. *
Changing line 20 from:
dataDir = os.path.join(dirName, "agw", "data")
To fixes it:
dataDir = os.path.join(dirName, "data")
Ok.
*NumCtrl*
- Font looks like it is bold
But it isn't. In the WIT:
>>> f = obj.GetFont()
>>> f.GetFaceName()
u'Courier New'
>>> f.GetWeight() == wx.FONTWEIGHT_NORMAL
True
And it looks normal on OSX. I'm not sure why it would look a bit bold only on Windows.
Looking at it a little closer it seems a little muddy, like what happens when you draw the same text multiple times at the same location on a wx.DC, and the anti-aliasing of the separate draws blends together. Perhaps something the Masked code is causing the native widget to do redraws without clears? If you can figure something out let me know. At this point you know a lot more about the Masked code than I do.
- the Grouping char or Decimal char fields are too small, this is due to
my patch I submitted some time ago:
Lines 2872 and 2880 in wx.lib.masked.maskededit.py create a sizing_text
of "" if the self._masklength == 1.
The only thing I can come up with is to replace these two lines with
(i.e. adding the +1):
sizing_text = 'MJ' * ((self._masklength+1)/2)
But maybe someone has a better solution then that.
Perhaps it would be best to have a lower bound on what the min size could be set to? Setting the minimum width to 8 seems wrong when there is probably going to be at least that much space in the border and margin areas. Perhaps Masked should be using SetMinClientSize instead?
*ResizeWidget:*
- can not resize the two controls when dragging the "drag marker"
I'm working on this one.
*Traceback in console:**
*C:\Python27\Doc\wxPython2.9 Docs and Demos\demo\agw
MDIDemo.py:77: wxPyDeprecationWarning: Call to deprecated item
'InitAllImageHand
lers'.
wx.InitAllImageHandlers()
MDISashDemo.py:142: wxPyDeprecationWarning: Call to deprecated item
'InitAllImag
eHandlers'.
wx.InitAllImageHandlers()
Ok, all wx.InitAllImageHandlers calls have been removed.
C:\Python27\Doc\wxPython2.9 Docs and Demos\demo\agw
OnCloseWindow
C:\Python27\lib\site-packages\wx-2.9.5-msw\wx\lib\agw\flatmenu.py:6151:
wxPyDepr
ecationWarning: Accessing deprecated property.
event.m_x = p.x
C:\Python27\lib\site-packages\wx-2.9.5-msw\wx\lib\agw\flatmenu.py:6152:
wxPyDepr
ecationWarning: Accessing deprecated property.
event.m_y = p.y
Fixed.
···
On 12/17/12 2:44 AM, Werner wrote:
On 17/12/2012 03:27, Robin Dunn wrote:
--
Robin Dunn
Software Craftsman