| 1210 | } |
| 1211 | |
| 1212 | void CPaintManagerUI::MessageLoop() |
| 1213 | { |
| 1214 | MSG msg = { 0 }; |
| 1215 | while( ::GetMessage(&msg, NULL, 0, 0) ) { |
| 1216 | if( !CPaintManagerUI::TranslateMessage(&msg) ) { |
| 1217 | ::TranslateMessage(&msg); |
| 1218 | try{ |
| 1219 | ::DispatchMessage(&msg); |
| 1220 | } catch(...) { |
| 1221 | DUITRACE(_T("EXCEPTION: %s(%d)\n"), __FILET__, __LINE__); |
| 1222 | #ifdef _DEBUG |
| 1223 | throw "CPaintManagerUI::MessageLoop"; |
| 1224 | #endif |
| 1225 | } |
| 1226 | } |
| 1227 | } |
| 1228 | } |
| 1229 | |
| 1230 | void CPaintManagerUI::Term() |
| 1231 | { |
nothing calls this directly
no outgoing calls
no test coverage detected