moved to appropriate 'protected' sections all functions wrongly placed in 'public' sections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-29 18:55:57 +00:00
parent 8aea37a9df
commit 5e6e278dc1
19 changed files with 431 additions and 398 deletions

View File

@@ -88,6 +88,19 @@ public:
*/
virtual ~wxModule();
/**
Provide this function with appropriate cleanup for your module.
*/
virtual void OnExit() = 0;
/**
Provide this function with appropriate initialization for your module.
If the function returns @false, wxWidgets will exit immediately.
*/
virtual bool OnInit() = 0;
protected:
/**
Call this function from the constructor of the derived class.
@@ -114,16 +127,5 @@ public:
The class name of the dependent module.
*/
void AddDependency(const char* classname);
/**
Provide this function with appropriate cleanup for your module.
*/
virtual void OnExit() = 0;
/**
Provide this function with appropriate initialization for your module.
If the function returns @false, wxWidgets will exit immediately.
*/
virtual bool OnInit() = 0;
};