diff --git a/src/mred/wxs/wxs_win.cxx b/src/mred/wxs/wxs_win.cxx index 561948fa9f..cbda327f67 100644 --- a/src/mred/wxs/wxs_win.cxx +++ b/src/mred/wxs/wxs_win.cxx @@ -106,7 +106,7 @@ static Bool wxIsShownToRoot(wxWindow *w) static long wxWindowGetHandle(wxWindow *w) { -#ifdef wx_win +#ifdef wx_msw return (long)w->GetHWND(); #else return w->GetWindowHandle();