And here bails out with an error:
Traceback (most recent call last):
File "C:\Piotr\pynerd\email_pane.py", line 137, in OnBeginDrag
self.drag_image = wx.DragTreeItem(self, self.dragging_item)
File "C:\Python23\lib\site-packages\wxPython\misc2.py", line 324, in wxDragTreeItem
val = wxDragImagePtr(misc2c.new_wxDragTreeItem(*_args,**_kwargs))
TypeError: Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.
How do I set the background color of a wxTextCtrl (supporting wxTE_RICH
style) to grey ???
The following patch of code does not set the background color to grey !
/*********************************/
wxTextAttr* m_textAttrib = new wxTextAttr(wxNullColour,
----- Original Message -----
From: Piotr Wa¶kiewicz <piter@lameriada.com>
To: <wxPython-users@lists.wxwindows.org>
Sent: Tuesday, November 18, 2003 8:34 PM
Subject: [wxPython-users] wx.DragTreeItem problem
And here bails out with an error:
Traceback (most recent call last):
File "C:\Piotr\pynerd\email_pane.py", line 137, in OnBeginDrag
self.drag_image = wx.DragTreeItem(self, self.dragging_item)
File "C:\Python23\lib\site-packages\wxPython\misc2.py", line 324, in
wxDragTreeItem
val = wxDragImagePtr(misc2c.new_wxDragTreeItem(*_args,**_kwargs))
TypeError: Type error in argument 1 of new_wxDragTreeItem. Expected
_wxTreeCtrl_p.
What I'm doing wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
And here bails out with an error:
Traceback (most recent call last):
File "C:\Piotr\pynerd\email_pane.py", line 137, in OnBeginDrag
self.drag_image = wx.DragTreeItem(self, self.dragging_item)
File "C:\Python23\lib\site-packages\wxPython\misc2.py", line 324, in wxDragTreeItem
val = wxDragImagePtr(misc2c.new_wxDragTreeItem(*_args,**_kwargs))
TypeError: Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.
What I'm doing wrong?
Nothing. There is a bug in the wrappers.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
How do I set the background color of a wxTextCtrl (supporting wxTE_RICH
style) to grey ???
The following patch of code does not set the background color to grey !
/*********************************/
wxTextAttr* m_textAttrib = new wxTextAttr(wxNullColour,