diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-22 21:50:53 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-22 21:50:53 +0000 |
commit | 2a53b77ce6de090dd5bbec1ac91c2dbe7f93a3f4 (patch) | |
tree | 25dcf381eea28474bb8ca755ba56bba6058f08db /navit/gui/win32 | |
parent | 51c8bb3bb0ab9ad281a70679084f811ee13c36e7 (diff) | |
download | navit-2a53b77ce6de090dd5bbec1ac91c2dbe7f93a3f4.tar.gz |
Fix:Various:Made work on win32
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1741 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/gui/win32')
-rw-r--r-- | navit/gui/win32/gui_win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/gui/win32/gui_win32.c b/navit/gui/win32/gui_win32.c index bbe506eaa..54fc7d51d 100644 --- a/navit/gui/win32/gui_win32.c +++ b/navit/gui/win32/gui_win32.c @@ -84,14 +84,14 @@ static void CreateToolBar(HWND hwnd) HWND hTool; TBBUTTON tbb[8]; TBADDBITMAP tbab; -#if 0 #ifdef _WIN32_WCE /* Have to initialize common controls under CE */ INITCOMMONCONTROLSEX iccex; iccex.dwSize = sizeof (INITCOMMONCONTROLSEX); iccex.dwICC = ICC_BAR_CLASSES; InitCommonControlsEx (&iccex); -#endif +#else + InitCommonControls(); #endif hTool = CreateWindowEx(0, TOOLBARCLASSNAME, NULL, WS_CHILD | WS_VISIBLE, 0, 0, 0, 0, @@ -187,7 +187,7 @@ static void window_layout( HWND hwnd ) rcClient.top += iToolHeight; - printf( "resize gui to: %d %d %d %d \n", rcClient.left, rcClient.right, rcClient.top, rcClient.bottom ); + dbg(0, "resize gui to: %d %d %d %d \n", rcClient.left, rcClient.right, rcClient.top, rcClient.bottom ); hChild = GetDlgItem(hwnd, ID_CHILD_GFX); |