wordpad: Use GetWindowLongPtr to get the HINSTANCE.

This commit is contained in:
Mike McCormack 2006-05-31 16:18:01 +09:00 committed by Alexandre Julliard
parent 796cf1713d
commit 74a03d2541
1 changed files with 1 additions and 1 deletions

View File

@ -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;