X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bedaf53eaf4e2a860b34d4ff5e0b1928ce8fa5c9..6443de026310552cacd68a6d0318e73d14929680:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 8096c9163f..8f7a71f1d3 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -53,6 +53,8 @@ #include "wx/intl.h" #endif +#include "wx/listctrl.h" + #if wxUSE_RADIOBTN #include "wx/radiobut.h" #endif @@ -2648,6 +2650,8 @@ wxIcon wxResourceCreateIcon(const wxString& resource, wxResourceTable *table) } } +#if wxUSE_MENUS + wxMenu *wxResourceCreateMenu(wxItemResource *item) { wxMenu *menu = new wxMenu; @@ -2708,6 +2712,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) {