X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bedaf53eaf4e2a860b34d4ff5e0b1928ce8fa5c9..5adad46628e545a6d4172ecf3a0cb848934f5cd0:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 8096c9163f..c0ffa5a62e 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -2648,6 +2648,8 @@ wxIcon wxResourceCreateIcon(const wxString& resource, wxResourceTable *table) } } +#if wxUSE_MENUS + wxMenu *wxResourceCreateMenu(wxItemResource *item) { wxMenu *menu = new wxMenu; @@ -2708,6 +2710,8 @@ wxMenu *wxResourceCreateMenu(const wxString& resource, wxResourceTable *table) return (wxMenu *) NULL; } +#endif // wxUSE_MENUS + // Global equivalents (so don't have to refer to default table explicitly) bool wxResourceParseData(const wxString& resource, wxResourceTable *table) {