X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..95b4a59e67af301bb6ff061055ac5a9a09b96d6c:/interface/wx/module.h diff --git a/interface/wx/module.h b/interface/wx/module.h index ec801b608e..1cd5717e16 100644 --- a/interface/wx/module.h +++ b/interface/wx/module.h @@ -8,7 +8,6 @@ /** @class wxModule - @wxheader{module.h} The module system is a very simple mechanism to allow applications (and parts of wxWidgets itself) to define initialization and cleanup functions that are @@ -34,7 +33,7 @@ { public: wxDDEModule() { } - virtual bool OnInit() { wxDDEInitialize(); return @true; }; + virtual bool OnInit() { wxDDEInitialize(); return true; }; virtual void OnExit() { wxDDECleanUp(); }; private: @@ -87,7 +86,7 @@ public: /** Destructor. */ - ~wxModule(); + virtual ~wxModule(); //@{ /**