From 323489147a96d3f409ad54cc81bf020a38cd5944 Mon Sep 17 00:00:00 2001 From: mattmenke Date: Thu, 17 Sep 2009 05:14:25 +0000 Subject: [PATCH] LilyPad: Fix for some bizarre issue with wxWidgets involving property sheets, Microsoft, spec violations, and gremlins. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1838 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/LilyPad/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LilyPad/Config.cpp b/plugins/LilyPad/Config.cpp index 0289901446..d790eb8d0a 100644 --- a/plugins/LilyPad/Config.cpp +++ b/plugins/LilyPad/Config.cpp @@ -2010,7 +2010,7 @@ INT_PTR CALLBACK GeneralDialogProc(HWND hWnd, unsigned int msg, WPARAM wParam, L } int CALLBACK PropSheetProc(HWND hWnd, UINT msg, LPARAM lParam) { - hWndProp = hWnd; + if (hWnd) hWndProp = hWnd; return 0; }