diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 284ce7de2e..1a915ab7dc 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -322,6 +322,8 @@ protected: #if WXWIN_COMPATIBILITY_2_2 && wxUSE_DYNAMIC_LOADER +#include "wx/object.h" + /* wxDllLoader is a class providing an interface similar to unix's dlopen(). It is used by wxDynamicLibrary wxLibrary and manages the actual loading of