[wxPython] wxGTK Debug - Again!

Sorry about the third post, but I'm using gdb for the
first time. Please bear with me. The trace from
running Boa under gdb with debug-enabled
wxGTK/wxPython is:

#0 0x00000000 in ?? ()
#1 0x404f1449 in wxapp_pending_callback () at

../src/gtk/app.cpp:176

#2 0x4086783d in g_idle_dispatch () from

/usr/lib/libglib-1.2.so.0

#3 0x408667f3 in g_main_dispatch () from

/usr/lib/libglib-1.2.so.0

#4 0x40866dd9 in g_main_iterate () from

/usr/lib/libglib-1.2.so.0

#5 0x40866ebe in g_main_iteration () from

/usr/lib/libglib-1.2.so.0

#6 0x40778a64 in gtk_main_iteration () from

/usr/lib/libgtk-1.2.so.0

#7 0x404f1385 in wxApp::Yield (this=0x847b728,

onlyIfNeeded=false)

    at ../src/gtk/app.cpp:125
#8 0x405e65e5 in wxYield () at

../src/common/utilscmn.cpp:1343

#9 0x4021b285 in wxGetResource ()
   from

/usr/lib/python2.2/site-packages/wxPython/wxc.so

#10 0x080c69c0 in PyCFunction_Call ()

where the "offending" function to the point of failure
reads:

gint wxapp_pending_callback( gpointer WXUNUSED(data)

)

{
    if (!wxTheApp) return TRUE;

    // when getting called from GDK's time-out

handler

    // we are no longer within GDK's grab on the GUI
    // thread so we must lock it here ourselves
    gdk_threads_enter();

    // Sent idle event to all who request them
    wxTheApp->ProcessPendingEvents(); (LINE 176)

John Bell

···

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

Appologies for the probable stupidity of this question but...

How do I change the colour of the border-regions of the objects inside a
wxGridSizer? Whatever colour I set the parent frame (a wxFrame) to be,
the borders and hgap/vgap regions round each child window always come
out as the default 'light grey' colour. I'm using wxGTK.

thanks,
Bryan

···

--

How do I change the colour of the border-regions of the objects inside a
wxGridSizer? Whatever colour I set the parent frame (a wxFrame) to be,
the borders and hgap/vgap regions round each child window always come
out as the default 'light grey' colour. I'm using wxGTK.

Put a panel in the frame, set its colour and then put your items and sizer
on the panel.

···

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

Thanks! Seems obvious now.

Bryan

···

On Mon, 2002-04-22 at 16:24, Robin Dunn wrote:

> How do I change the colour of the border-regions of the objects inside a
> wxGridSizer? Whatever colour I set the parent frame (a wxFrame) to be,
> the borders and hgap/vgap regions round each child window always come
> out as the default 'light grey' colour. I'm using wxGTK.

Put a panel in the frame, set its colour and then put your items and sizer
on the panel.

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

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

--