]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
fix GTKGetLabel() and DoApplyWidgetStyle(): children are GtkWidget, not GtkBoxChild
[wxWidgets.git] / src / msw / textctrl.cpp
index b4b0cff8f3d921afbdf62d2326b5abfafc026d80..582e3a1bd15fab07d3fadd35351e359bea15c05e 100644 (file)
@@ -1125,7 +1125,7 @@ void wxTextCtrl::AppendText(const wxString& text)
     // don't do this if we're frozen, saves some time
     if ( !IsFrozen() && IsMultiLine() && GetRichVersion() > 1 )
     {
-        ::SendMessage(GetHwnd(), WM_VSCROLL, SB_BOTTOM, NULL);
+        ::SendMessage(GetHwnd(), WM_VSCROLL, SB_BOTTOM, (LPARAM)NULL);
     }
 #endif // wxUSE_RICHEDIT
 }