diff --git a/tests/exec/exec.cpp b/tests/exec/exec.cpp index 7a4ee95b6f..d493f39bb6 100644 --- a/tests/exec/exec.cpp +++ b/tests/exec/exec.cpp @@ -49,6 +49,15 @@ #define SLEEP_END_STRING "Done sleeping" +namespace +{ + enum AsyncExecLoopExitEnum + { + AsyncExec_DontExitLoop, + AsyncExec_ExitLoop + }; +} // anonymous namespace + // ---------------------------------------------------------------------------- // test class // ---------------------------------------------------------------------------- @@ -94,12 +103,6 @@ private: CheckStream check, const char* expectedContaining); - enum AsyncExecLoopExitEnum - { - AsyncExec_DontExitLoop, - AsyncExec_ExitLoop - }; - // This class is used as a helper in order to run wxExecute(ASYNC) // inside of an event loop. class AsyncInEventLoop : public wxTimer