diff options
Diffstat (limited to 'uisimulator/win32')
-rw-r--r-- | uisimulator/win32/uisw32.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/uisimulator/win32/uisw32.c b/uisimulator/win32/uisw32.c index 6d91f76c12..eb568e2a60 100644 --- a/uisimulator/win32/uisw32.c +++ b/uisimulator/win32/uisw32.c | |||
@@ -50,12 +50,12 @@ char having_new_lcd=true; // Used for player simulator | |||
50 | 50 | ||
51 | // GUIWndProc | 51 | // GUIWndProc |
52 | // window proc for GUI simulator | 52 | // window proc for GUI simulator |
53 | LRESULT GUIWndProc ( | 53 | LRESULT CALLBACK GUIWndProc ( |
54 | HWND hWnd, | 54 | HWND hWnd, |
55 | UINT uMsg, | 55 | UINT uMsg, |
56 | WPARAM wParam, | 56 | WPARAM wParam, |
57 | LPARAM lParam | 57 | LPARAM lParam |
58 | ) | 58 | ) |
59 | { | 59 | { |
60 | static HBITMAP hBkgnd; | 60 | static HBITMAP hBkgnd; |
61 | static HDC hMemDc; | 61 | static HDC hMemDc; |
@@ -234,7 +234,7 @@ BOOL GUIStartup () | |||
234 | wc.hbrBackground = GetSysColorBrush (COLOR_WINDOW); | 234 | wc.hbrBackground = GetSysColorBrush (COLOR_WINDOW); |
235 | wc.hCursor = LoadCursor (NULL, IDC_ARROW); | 235 | wc.hCursor = LoadCursor (NULL, IDC_ARROW); |
236 | wc.hInstance = GetModuleHandle (NULL); | 236 | wc.hInstance = GetModuleHandle (NULL); |
237 | wc.lpfnWndProc = (WNDPROC)GUIWndProc; | 237 | wc.lpfnWndProc = GUIWndProc; |
238 | wc.lpszClassName = "RockBoxUISimulator"; | 238 | wc.lpszClassName = "RockBoxUISimulator"; |
239 | wc.style = CS_HREDRAW | CS_VREDRAW; | 239 | wc.style = CS_HREDRAW | CS_VREDRAW; |
240 | 240 | ||