From kde-bindings Wed Apr 28 18:14:00 2004 From: "Martin Welch" Date: Wed, 28 Apr 2004 18:14:00 +0000 To: kde-bindings Subject: RE: [Kde-bindings] Simple KCrash question Message-Id: X-MARC-Message: https://marc.info/?l=kde-bindings&m=108317604900050 Solved. Caused by an automatic variable - KAboutData - going out of scope but KApplication still had a pointer to it. D'oh! Right. I can carry on now... Martin -----Original Message----- From: Richard Dale [mailto:Richard_Dale@tipitina.demon.co.uk] Sent: 27 April 2004 16:00 To: KDE bindings for other programming languages Subject: Re: [Kde-bindings] Simple KCrash question On Tuesday 27 April 2004 15:47, Martin Welch wrote: > I think you have to call the base class implementation: > > void CMainWindow::polish() > { > KMainWindow::polish(); <<<<<<<<<<<<<<<<< > printf("CMainWindow::polish\n"); > > if ( m_LoadCallBack != 0 ) > m_LoadCallBack(this); > } Yes, you're right - it just gets called once now. The only thing I can think of is to see if the same code works when it's not linked against C#. -- Richard def polish() super() puts "In polish()" window = KDE::MainWindow.new(self, "temp#") window.show end _______________________________________________ Kde-bindings mailing list Kde-bindings@kde.org https://mail.kde.org/mailman/listinfo/kde-bindings _______________________________________________ Kde-bindings mailing list Kde-bindings@kde.org https://mail.kde.org/mailman/listinfo/kde-bindings