X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d66d050088ee2012542a2d2607b5329ff5f3a491..36a845fe5b6933de913a155ccb2512684b9f2379:/include/wx/msw/private.h 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); }