#92 wxApp Init results in Gdk error

closed-fixed
None
5
2003-03-03
2002-11-13
Anonymous
No

Received these errors:

Gdk-ERROR **: BadDrawable (invalid Pixmap or Window
parameter)
serial 377 error_code 9 request_code 14 minor_code 0

I noticed that when I resuffle OnInit to the following
the problem disappears

class BoaApp(wxApp):
def OnInit(self):
wxInitAllImageHandlers()
self.main = wxFrame1.create(None)
self.SetTopWindow(self.main)
self.main.Show()
return true

Linux 2.4.X - gtk, python2.2

Discussion

  • Riaan Booysen

    Riaan Booysen - 2003-03-03
    • assigned_to: nobody --> riaan
    • status: open --> closed-fixed
     
  • Riaan Booysen

    Riaan Booysen - 2003-03-03

    Logged In: YES
    user_id=438

    I never seen this problem, but have changed Boa's own App
    init and the source template according to your suggestion.

    Thanks,
    Riaan.

     

Log in to post a comment.