[WORDPAD]
[reactos.git] / reactos / base / applications / wordpad / print.c
index 11428c0..77e1f60 100644 (file)
@@ -144,7 +144,7 @@ static void AddTextButton(HWND hRebarWnd, UINT string, UINT command, UINT id)
     rb.cxIdeal = 100;
     rb.wID = id;
 
-    SendMessageW(hRebarWnd, RB_INSERTBAND, -1, (LPARAM)&rb);
+    SendMessageW(hRebarWnd, RB_INSERTBANDW, -1, (LPARAM)&rb);
 }
 
 static HDC make_dc(void)
@@ -626,7 +626,7 @@ static void preview_bar_show(HWND hMainWnd, BOOL show)
         rb.cxIdeal = 100;
         rb.wID = BANDID_PREVIEW_BUFFER;
 
-        SendMessageW(hReBar, RB_INSERTBAND, -1, (LPARAM)&rb);
+        SendMessageW(hReBar, RB_INSERTBANDW, -1, (LPARAM)&rb);
     } else
     {
         for(i = 0; i <= PREVIEW_BUTTONS; i++)