mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 04:04:39 +00:00
fixing
This commit is contained in:
parent
0cbe3efa6a
commit
932fb4e054
Binary file not shown.
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
@ -13,7 +13,7 @@ gf_version_t ver;
|
||||
char vertxt[512];
|
||||
|
||||
void ShowBitmapSize(HWND hWnd, HDC hdc, const char* name, int x, int y, int w, int h) {
|
||||
HBITMAP hBitmap = LoadBitmap((HINSTANCE)GetWindowLongPtr(hWnd, GWL_HINSTANCE), name);
|
||||
HBITMAP hBitmap = LoadBitmap(hInst, name);
|
||||
BITMAP bmp;
|
||||
HDC hmdc;
|
||||
GetObject(hBitmap, sizeof(bmp), &bmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user