|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
wxgtk problem
_______________________________________________ wx-users mailing list wx-users@... http://lists.wxwidgets.org/mailman/listinfo/wx-users |
|
|
|
Re: wxgtk problemOn Mon, 8 Sep 2008 02:53:38 -0700 (PDT) Guru Kathiresan <gkathire@...> wrote:
GK> The backtrace of the program is : GK> GK> Starting program: /home/guru/Desktop/Src/demo1/demo1 GK> [Thread debugging using libthread_db enabled] GK> GK> (process:19409): GLib-CRITICAL **: g_path_get_basename: assertion `file_name != NULL' failed GK> [New Thread 0xb6c0a720 (LWP 19409)] This seems to be the problem. Put a breakpoint on g_log when running under gdb to see where this is called from. GK> (process:19409): Gdk-CRITICAL **: gdk_window_set_title: assertion `title != NULL' failed And this is another problem... I don't know where do these NULLs come from but it shouldn't be hard to discover it under the debugger. Regards, VZ -- TT-Solutions: wxWidgets consultancy and technical support http://www.tt-solutions.com/ _______________________________________________ wx-users mailing list wx-users@... http://lists.wxwidgets.org/mailman/listinfo/wx-users |
|
|
|
RE: wxgtk problemHi Vadim,
I'm just calling the wxMessageBox (to which I just pass a valid string) in the App's OnInit function. Do I need to call any other functions in the wxGTK before showing a window? Please let me know. -regards, Guru > -----Original Message----- > From: wx-users-bounces@... [mailto:wx-users- > bounces@...] On Behalf Of Vadim Zeitlin > Sent: Monday, September 08, 2008 1:24 PM > To: wx-users@... > Subject: Re: wxgtk problem > > On Mon, 8 Sep 2008 02:53:38 -0700 (PDT) Guru Kathiresan > <gkathire@...> wrote: > > GK> The backtrace of the program is : > GK> > GK> Starting program: /home/guru/Desktop/Src/demo1/demo1 > GK> [Thread debugging using libthread_db enabled] > GK> > GK> (process:19409): GLib-CRITICAL **: g_path_get_basename: assertion > `file_name != NULL' failed > GK> [New Thread 0xb6c0a720 (LWP 19409)] > > This seems to be the problem. Put a breakpoint on g_log when running > under > gdb to see where this is called from. > > GK> (process:19409): Gdk-CRITICAL **: gdk_window_set_title: assertion > `title != NULL' failed > > And this is another problem... I don't know where do these NULLs come > from > but it shouldn't be hard to discover it under the debugger. > > Regards, > VZ > > -- > TT-Solutions: wxWidgets consultancy and technical support > http://www.tt-solutions.com/ _______________________________________________ wx-users mailing list wx-users@... http://lists.wxwidgets.org/mailman/listinfo/wx-users |
|
|
|
Re[2]: wxgtk problemOn Tue, 9 Sep 2008 02:05:00 -0700 Guru Kathiresan <gkathire@...> wrote:
GK> Hi Vadim, GK> I'm just calling the wxMessageBox (to which I just pass a valid string) in GK> the App's OnInit function. Do I need to call any other functions in the GK> wxGTK before showing a window? Please let me know. You do need to initialize it (e.g. wxInitialize or create a wxApp). In any case, even if you don't pass it a NULL string it does get passed from somewhere and breaking on g_log in debugger as I wrote should allow you to see where does this happen. Regards, VZ -- TT-Solutions: wxWidgets consultancy and technical support http://www.tt-solutions.com/ _______________________________________________ wx-users mailing list wx-users@... http://lists.wxwidgets.org/mailman/listinfo/wx-users |
| Free Forum Powered by Nabble | Forum Help |