Fix link when using wxSimplebook both directly and indirectly
This resulted in its base class wxNavigationEnabled<wxBookCtrlBase> being instantiated both in the application itself (when using it directly) and inside the wx DLLs (when using another class using the same base class, but defined in the DLL, such as wxAuiNotebook) and gave linking errors. Work around this by explicitly defining wxCompositeBookCtrlBase, corresponding to this base class, ourselves and export it from the DLL so that it's the single instance which is always used. Closes #22805.
This commit is contained in:
parent
b91be88c0b
commit
dbbf509e18
14 changed files with 64 additions and 23 deletions
|
|
@ -983,6 +983,7 @@ GUI_CMN_HDR =
|
|||
wx/combo.h
|
||||
wx/combobox.h
|
||||
wx/commandlinkbutton.h
|
||||
wx/compositebookctrl.h
|
||||
wx/compositewin.h
|
||||
wx/control.h
|
||||
wx/creddlg.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue