Linux : WxWidgets 3.1 migration

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: Linux : WxWidgets 3.1 migration

Post by DavidHart »

--with-gtk=3.0
Try --with-gtk=3
./src/gtk/window.cpp(3251): assert ""source"" failed in
DoClientToScreen(): ClientToScreen failed on unrealized window
You had an answer to this on the wx-users mailing list. In case you haven't had time to read it, VZ said:
"I don't know why do you get this one. Please try to reproduce the problem
in the "aui" sample as it seems to be related to something you're doing
when creating your wxAuiNotebook. If you can do it there, please post a
patch (see http://trac.wxwidgets.org/wiki/HowToSubmitPatches if you hadn't
done this before) with the changes to the sample that would allow us to
debug this."

Please stop cross-posting. Ask your questions either here or on wx-users, but not both.
sapthagiri
Earned a small fee
Earned a small fee
Posts: 23
Joined: Mon Jan 09, 2017 12:36 pm

Re: Linux : WxWidgets 3.1 migration

Post by sapthagiri »

Hi Team,
Thanks for your inputs.

Machine details: Ubuntu 14.04 LTS OS 32-bit type

While building wxWidgets 3.1 configured with below option
--with-gtk=3
--disable-debug

Facing below compilation error:

In file included from ../src/gtk/textentry.cpp:34:0:
../src/gtk/textentry.cpp: In member function ‘virtual bool wxTextEntry::SetHint(const wxString&)’:
../include/wx/gtk/private.h:83:48: error: ‘m_font’ was not declared in this scope
#define wxGTK_CONV(s) wxGTK_CONV_FONT((s), m_font)
^
../include/wx/gtk/private.h:85:59: note: in definition of macro ‘wxGTK_CONV_FONT’
#define wxGTK_CONV_FONT(s, font) wxConvertToGTK((s), (font))
^
../src/gtk/textentry.cpp:571:47: note: in expansion of macro ‘wxGTK_CONV’
gtk_entry_set_placeholder_text(entry, wxGTK_CONV(hint));
^
../src/gtk/textentry.cpp: In member function ‘virtual wxString wxTextEntry::GetHint() const’:
../include/wx/gtk/private.h:88:54: error: ‘m_font’ was not declared in this scope
#define wxGTK_CONV_BACK(s) wxConvertFromGTK((s), m_font)
^
../src/gtk/textentry.cpp:583:16: note: in expansion of macro ‘wxGTK_CONV_BACK’
return wxGTK_CONV_BACK(gtk_entry_get_placeholder_text(entry));
^
make: *** [coredll_gtk_textentry.o] Error 1

Kindly provide inputs

Thanks,
Giri
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4193
Joined: Sun Jan 03, 2010 5:45 pm

Re: Linux : WxWidgets 3.1 migration

Post by PB »

doublemax wrote:Please don't crosspost on the forum and the mailing list.
DavidHart wrote:Please stop cross-posting. Ask your questions either here or on wx-users, but not both.
sapthagiri, you must realize that crossposting is very rude and even more so when ignoring multiple requests to stop doing that, while still asking people to spend their time and effort to help you for free?
sapthagiri
Earned a small fee
Earned a small fee
Posts: 23
Joined: Mon Jan 09, 2017 12:36 pm

Re: Linux : WxWidgets 3.1 migration

Post by sapthagiri »

Hi Team,
I am sorry for that...

https://groups.google.com/forum/#!forum/wx-users

I Will take care that I will post only in the above forums...

Thanks for your time.

Regards,
Giri
Post Reply