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.
- Site Admin
- Posts: 4020
- Joined: Thu Jan 12, 2006 6:23 pm
- Location: IoW, UK
./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
Please stop cross-posting. Ask your questions either here or on wx-users, but not both.
- Earned a small fee
- Posts: 23
- Joined: Mon Jan 09, 2017 12:36 pm
Thanks for your inputs.
Machine details: Ubuntu 14.04 LTS OS 32-bit type
While building wxWidgets 3.1 configured with below option
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’
../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’
make: *** [coredll_gtk_textentry.o] Error 1
Kindly provide inputs
- Part Of The Furniture
- Posts: 2778
- Joined: Sun Jan 03, 2010 5:45 pm
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?