User forums > Help
wxScintilla and wx2.8
Commaster:
Looks like one of the recent wxScintilla merge broke wx2.8 compatibility:
--- Code: ---src/PlatWX.cpp: In member function ‘void Window::SetPositionRelative(PRectangle, Window)’:
src/PlatWX.cpp:1908:32: error: ‘wxDisplay’ has not been declared
const int currentDisplay = wxDisplay::GetFromWindow(relativeWin);
^
src/PlatWX.cpp:1909:56: error: ‘wxDisplay’ was not declared in this scope
const wxRect displayRect = wxDisplay(currentDisplay).GetClientArea();
^
--- End code ---
Are we officially moving to wx3.0 and above?
oBFusCATed:
--- Quote from: Commaster on May 21, 2018, 09:32:51 am ---Looks like one of the recent wxScintilla merge broke wx2.8 compatibility:
--- End quote ---
It builds fine for me with wx2.8.12 on gentoo and centos.
It seems the wxDisplay subsystem in your wx build is disabled.
--- Quote from: Commaster on May 21, 2018, 09:32:51 am ---Are we officially moving to wx3.0 and above?
--- End quote ---
It will be good if we drop wx2.8, but we've not done so yet.
Commaster:
--- Quote from: oBFusCATed on May 21, 2018, 09:48:03 am ---It seems the wxDisplay subsystem in your wx build is disabled.
--- End quote ---
Interesting... I haven't touched the build script in ages...
--- Code: ---../../configure --disable-compat26 --enable-unicode --disable-sys-libs --enable-monolithic --with-gtk=2 --with-jpeg=builtin --with-libpng=builtin --with-regex=builtin --with-tiff=builtin --with-zlib=builtin --with-expat=builtin
--- End code ---
Does it need an extra toggle?
(I do have the display.h in the install directory... weird)
stahta01:
--enable-display
Commaster:
I've added that flag, but the setup.h still says
--- Code: ---#define wxUSE_DISPLAY 0
--- End code ---
I'll have to dig into the wx src to figure out why this is happening.
Thanks for the suggestion! :)
Navigation
[0] Message Index
[#] Next page
Go to full version