CtrlCore: fixed last fix....

git-svn-id: svn://ultimatepp.org/upp/trunk@7297 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-22 13:36:59 +00:00
parent c17f15d7fe
commit 9a776f96f5

View file

@ -671,8 +671,6 @@ LRESULT CALLBACK Ctrl::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
#endif
LRESULT l = 0;
if(w) {
try
{
#if defined(_DEBUG) && LOGTIMING
int ticks = msecs();
String wname = w->Name();
@ -692,12 +690,6 @@ LRESULT CALLBACK Ctrl::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
msgname = NFormat("0x%04x", (int)message);
LLOG(NFormat("T+%d %s 0x%08x 0x%08x -> %s", msecs(ticks), msgname, (int)wParam, (int)lParam, wname));
#endif
}
// catch(Exc e)
// {
// LOG("Uncaught exception in WindowProc: " << e);
// Panic("Uncaught exception in WindowProc: " + (String)e);
// }
}
else
l = DefWindowProc(hWnd, message, wParam, lParam);