Author: AlbrechtS
Date: 2010-09-07 16:16:42 -0700 (Tue, 07 Sep 2010)
New Revision: 7703
Log:
Fixed STR #1902.
Modified:
trunk/src/win32/run.cxx
Modified: trunk/src/win32/run.cxx
===================================================================
--- trunk/src/win32/run.cxx 2010-09-07 21:16:50 UTC (rev 7702)
+++ trunk/src/win32/run.cxx 2010-09-07 23:16:42 UTC (rev 7703)
@@ -1751,6 +1751,7 @@
break;
case WM_PALETTECHANGED:
+ if (!window) break; // see STR #1902
if ((HWND)wParam != hWnd) {
CreatedWindow* i = CreatedWindow::find(window);
if (fl_select_palette(i->dc)) UpdateColors(i->dc);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit