X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5159e01481609101d7bf20b3e32457346e631df6..6496345c33824373fdb8cf7de04a43197fa0341c:/interface/wx/thread.h diff --git a/interface/wx/thread.h b/interface/wx/thread.h index c454f8e925..20d0f92a60 100644 --- a/interface/wx/thread.h +++ b/interface/wx/thread.h @@ -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(); };