Fixed the mini tile box. It still refreshes the whole screen when clicking a tile. But anyway all that shit will be remade someday.

This commit is contained in:
luigi__ 2009-04-12 00:01:12 +00:00
parent 9fa2003bc5
commit 85ca9b12e3
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ LRESULT CALLBACK TileViewBoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar
LRESULT MiniTileViewBox_Paint(HWND hwnd, tileview_struct * win, WPARAM wParam, LPARAM lParam) LRESULT MiniTileViewBox_Paint(HWND hwnd, tileview_struct * win, WPARAM wParam, LPARAM lParam)
{ {
HWND hwnd_src = GetDlgItem(hwnd, IDC_Tile_BOX); HWND hwnd_src = GetDlgItem(GetParent(hwnd), IDC_Tile_BOX);
HDC hdc_src; HDC hdc_src;
HDC hdc_dst; HDC hdc_dst;
char txt[80]; char txt[80];