From d026fee446b2085a1bbdaee2d7a1050a7cbd1467 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 15 Aug 2008 23:01:28 +0000 Subject: [PATCH] compilation fix for wxUniv/MSW after r54937 (#9866) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 0c5c99ed2c..ce738893b1 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -904,17 +904,17 @@ inline bool wxStyleHasBorder(long style) wxSUNKEN_BORDER | wxDOUBLE_BORDER)) != 0; } -inline long wxGetWindowExStyle(const wxWindow *win) +inline long wxGetWindowExStyle(const wxWindowMSW *win) { return ::GetWindowLong(GetHwndOf(win), GWL_EXSTYLE); } -inline bool wxHasWindowExStyle(const wxWindow *win, long style) +inline bool wxHasWindowExStyle(const wxWindowMSW *win, long style) { return (wxGetWindowExStyle(win) & style) != 0; } -inline long wxSetWindowExStyle(const wxWindow *win, long style) +inline long wxSetWindowExStyle(const wxWindowMSW *win, long style) { return ::SetWindowLong(GetHwndOf(win), GWL_EXSTYLE, style); } -- 2.45.2