make wxThread::OnExit private and not public (change tested on wxMSW and wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1058,17 +1058,6 @@ public:
|
||||
*/
|
||||
wxThreadError Kill();
|
||||
|
||||
/**
|
||||
Called when the thread exits.
|
||||
|
||||
This function is called in the context of the thread associated with the
|
||||
wxThread object, not in the context of the main thread.
|
||||
This function will not be called if the thread was @ref Kill() killed.
|
||||
|
||||
This function should never be called directly.
|
||||
*/
|
||||
virtual void OnExit();
|
||||
|
||||
/**
|
||||
Suspends the thread.
|
||||
|
||||
@@ -1227,6 +1216,19 @@ protected:
|
||||
OnExit() will be called just before exiting.
|
||||
*/
|
||||
void Exit(ExitCode exitcode = 0);
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
Called when the thread exits.
|
||||
|
||||
This function is called in the context of the thread associated with the
|
||||
wxThread object, not in the context of the main thread.
|
||||
This function will not be called if the thread was @ref Kill() killed.
|
||||
|
||||
This function should never be called directly.
|
||||
*/
|
||||
virtual void OnExit();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user