[wxPython] ODBC Clases

Hello All,

Just a quick question, Are the wxDb and related database classes implemented
in wxPython?

Thanks.

Eric Weaver

Just a quick question, Are the wxDb and related database classes

implemented

in wxPython?

Quick answer: no.

Longer answer: anybody want to do it for me?

Rebuttal answer: why?

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

I understood that the only supported ODBC library for programming in Python is mxODBC which is expensive for commercial use.

Is this correct?

Patrick

···

At 13:40 12/07/2002 -0700, you wrote:

>
> Just a quick question, Are the wxDb and related database classes
implemented
> in wxPython?

Quick answer: no.

Longer answer: anybody want to do it for me?

Rebuttal answer: why?

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

I found these two non-commercial links:

:slight_smile:

Patrick Kimber wrote:

···

I understood that the only supported ODBC library for programming in Python is mxODBC which is expensive for commercial use.

Is this correct?

Patrick

At 13:40 12/07/2002 -0700, you wrote:

>
> Just a quick question, Are the wxDb and related database classes
implemented
> in wxPython?

Quick answer: no.

Longer answer: anybody want to do it for me?

Rebuttal answer: why?

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

Hi All,

Anyone know what's happened to the wxGenBitmapTogleButton in
wxGTK/wxPython-2.3.2.1? Used to work in the previous wxPython/wxGTK
version (2.2). Now it seems to be broken....

I get the following trace-back:

File "wxLabPlotCursors.py", line 1471, in __init__
    button = wxGenBitmapToggleButton(self.buttonpanel, 1015, bmp)
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line
323, in __init__
    wxGenButton.__init__(self, parent, ID, "", pos, size, style,
validator, name)
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line
78, in __init__
    self.InitColours()
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line
142, in InitColours
    self.SetBackgroundColour(faceClr)
  File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", line
154, in SetBackgroundColour
    wxWindow.SetBackgroundColour(self, colour)
TypeError: unbound method SetBackgroundColour() must be called with
wxWindow instance as first argument (got wxGenBitmapToggleButton
instance instead)

cheers,
Bryan

Anyone know what's happened to the wxGenBitmapTogleButton in
wxGTK/wxPython-2.3.2.1?

Nothing. A change to how Python 2.2 looks for methods in base classes broke
it. You can look in the archives of this list for the fix, but I think it
was just to change the "wxWindow" in that line to "wxControl".