Add wxUSE_MENUBAR to CMake too
For now there is no dependency on wxUSE_MENUS when using CMake.
This commit is contained in:
parent
62c168ac21
commit
ff24484952
@ -377,7 +377,8 @@ wx_option(wxUSE_WIZARDDLG "use wxWizard")
|
||||
# misc GUI options
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
wx_option(wxUSE_MENUS "use wxMenu/wxMenuBar/wxMenuItem classes")
|
||||
wx_option(wxUSE_MENUS "use wxMenu and wxMenuItem classes")
|
||||
wx_option(wxUSE_MENUBAR "use wxMenuBar class")
|
||||
wx_option(wxUSE_MINIFRAME "use wxMiniFrame class")
|
||||
wx_option(wxUSE_TOOLTIPS "use wxToolTip class")
|
||||
wx_option(wxUSE_SPLINES "use spline drawing code")
|
||||
|
@ -90,7 +90,7 @@ wx_add_sample(listctrl listtest.cpp listtest.h RES listtest.rc DEPENDS wxUSE_LIS
|
||||
wx_add_sample(mdi mdi.cpp mdi.h RES mdi.rc DEPENDS wxUSE_MDI wxUSE_DOC_VIEW_ARCHITECTURE wxUSE_MDI_ARCHITECTURE)
|
||||
wx_add_sample(mediaplayer LIBRARIES wxmedia DEPENDS wxUSE_MEDIACTRL)
|
||||
wx_add_sample(memcheck)
|
||||
wx_add_sample(menu DEPENDS wxUSE_MENUS)
|
||||
wx_add_sample(menu DEPENDS wxUSE_MENUS wxUSE_MENUBAR)
|
||||
wx_add_sample(minimal IMPORTANT)
|
||||
wx_add_sample(notebook notebook.cpp notebook.h LIBRARIES wxaui DEPENDS wxUSE_NOTEBOOK)
|
||||
if(wxUSE_OPENGL)
|
||||
|
Loading…
Reference in New Issue
Block a user