wordpad: Use GetWindowLongPtr to get the HINSTANCE.
This commit is contained in:
parent
796cf1713d
commit
74a03d2541
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue