I get this odd error message, "Could not transfer data to window". This
is when I load one of my dialog boxes with ShowModal. Does anyone have
an idea what I'm looking for, before I go on a big debugging mission?
Thanks,
Hugo
I get this odd error message, "Could not transfer data to window". This
is when I load one of my dialog boxes with ShowModal. Does anyone have
an idea what I'm looking for, before I go on a big debugging mission?
Thanks,
Hugo
i dont know your problem - but : 'WHICH DEBUGGER would you use ???" - I
dont
know any debugger for python which is stable enough to work with it.
----- Original Message -----
From: "Hugo van der Merwe" <hugovdm@mail.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Saturday, October 27, 2001 11:29 AM
Subject: [wxPython] "Could not transfer data to window"
I get this odd error message, "Could not transfer data to window". This
is when I load one of my dialog boxes with ShowModal. Does anyone have
an idea what I'm looking for, before I go on a big debugging mission?Thanks,
Hugo_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users
From the validators overview:
"
When a wxDialog::Show is called (for a modeless dialog) or
wxDialog::ShowModal is called (for a modal dialog), the function
wxWindow::InitDialog is automatically called. This in turn sends an
initialisation event to the dialog. The default handler for the
wxEVT_INIT_DIALOG event is defined in the wxWindow class to simply call the
function wxWindow::TransferDataToWindow. This function finds all the
validators in the window's children and calls the TransferToWindow function
for each. Thus, data is transferred from C++ variables to the dialog just as
the dialog is being shown."
So, are you perhaps mistakenly supplying too many arguments to the wx*Dialog
constructor, and supplying an invalid value for the validator argument? Or
something like that? [Sorry, I've had this problem in the past but can't
remember my specific fix... not that left would necessarily be useful in
your case anyway...]
Hope you sort things out...
Chris
-------------------------------------------------------------------------
Chris Fama <mailto:Chris.Fama@whollysnakes.com>
or <mailto:Chris.Fama@uq.net.au>
Brisbane, Australia
Phone: (0/+61)(7) 3870 5639 {10am-10pm GMT+10 on both these numbers please}
Mobile: (0/+61)(400) 833 700
-------------------------------------------------------------------------
Business page: <http://whollysnakes.com>
Personal page: <http://uq.net.au/~zzcfama>
-------------------------------------------------------------------------
----- Original Message -----
From: "Hugo van der Merwe" <hugovdm@mail.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Saturday, October 27, 2001 7:29 PM
Subject: [wxPython] "Could not transfer data to window"
I get this odd error message, "Could not transfer data to window". This
is when I load one of my dialog boxes with ShowModal. Does anyone have
an idea what I'm looking for, before I go on a big debugging mission?Thanks,
Hugo_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users
I get this odd error message, "Could not transfer data to window". This
is when I load one of my dialog boxes with ShowModal. Does anyone have
an idea what I'm looking for, before I go on a big debugging mission?
Your validators need to implement TransferToWindow and TransferFromWindow
and return true from them.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!