Commit 74a03d25 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

wordpad: Use GetWindowLongPtr to get the HINSTANCE.

parent 796cf171
......@@ -74,7 +74,7 @@ void AddSeparator(HWND hwndToolBar)
static LRESULT OnCreate( HWND hWnd, WPARAM wParam, LPARAM lParam)
{
HWND hEditorWnd, hToolBarWnd, hReBarWnd;
HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);
HINSTANCE hInstance = (HINSTANCE)GetWindowLongPtr(hWnd, GWLP_HINSTANCE);
HANDLE hDLL;
TBADDBITMAP ab;
int nStdBitmaps = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment