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:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user