Warning building the library

20 views
Skip to first unread message

Igor Korot

unread,
Jul 13, 2026, 6:31:10 PM (15 hours ago) Jul 13
to wx-dev
Hi, (Vadim),

Building wx-3.3.3 I got this:

c:\wxwidgets\include\wx\toplevel.h(307): warning C4996:
'wxTopLevelWindowBase::GeometrySerializer': deprecated: Use
GeometryStore instead

Win8.1 + MSVC 2017.

Thank you.

PB

unread,
2:30 AM (7 hours ago) 2:30 AM
to wx-dev
Hi,

the warning is actually shown even when building an application, this is from a CMake-generated MSVS 2017 solution building the minimal sample:
1>Building Custom Rule E:/dev/Desktop/Lib/wxWidgets-GIT/build/cmake/samples/CMakeLists.txt
1>minimal.cpp
1>E:\dev\Desktop\Lib\wxWidgets-GIT\include\wx/toplevel.h(307): warning C4996: 'wxTopLevelWindowBase::GeometrySerializer': deprecated: Use GeometryStore instead
1>E:\dev\Desktop\Lib\wxWidgets-GIT\include\wx/toplevel.h(293): note: see declaration of 'wxTopLevelWindowBase::GeometrySerializer'
1>minimal.vcxproj -> E:\dev\Desktop\Lib\wxWidgets-GIT-build-vc15-x64-dll\lib\vc_x64_dll\minimal.exe
1>Done building project "minimal.vcxproj".

This happens with MSVS 2015 and 2017 but not 2026.

Best
PB
Reply all
Reply to author
Forward
0 new messages