X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53c6e7ccd2c012afe1819485260e9d34eba09538..99c67c777b7d7a6f0ea74823bff7b9c40379b5fa:/src/common/wxexpr.cpp diff --git a/src/common/wxexpr.cpp b/src/common/wxexpr.cpp index d709a7cb6d..39687462f1 100644 --- a/src/common/wxexpr.cpp +++ b/src/common/wxexpr.cpp @@ -42,6 +42,7 @@ extern "C" void add_expr(char *); extern "C" void LexFromFile(FILE *fd); extern "C" void LexFromString(char *buf); + wxExprDatabase *thewxExprDatabase = NULL; wxExprErrorHandler currentwxExprErrorHandler; @@ -849,7 +850,14 @@ void wxExpr::WriteLispExpr(ostream& stream) } } -// wxExpr 'database' (list of expressions) +/* + * wxExpr 'database' (list of expressions) + */ + +#if !USE_SHARED_LIBRARIES +IMPLEMENT_DYNAMIC_CLASS(wxExprDatabase, wxList) +#endif + wxExprDatabase::wxExprDatabase(wxExprErrorHandler handler) { position = NULL;