]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtexthtml.cpp
Add default constructor to wxGraphicsGradientStop.
[wxWidgets.git] / src / richtext / richtexthtml.cpp
index 6079da35c528fbb0039d0aa6fbcd2909ad995407..6af5ab0ae59d2fe604a3bbd23c675fa19fc14e55 100644 (file)
@@ -322,7 +322,7 @@ void wxRichTextHTMLHandler::BeginParagraphFormatting(const wxTextAttr& WXUNUSED(
             str << wxT(">");
 
             // TODO: convert to pixels
             str << wxT(">");
 
             // TODO: convert to pixels
-            int indentPixels = indentLeftMM*10/4;
+            int indentPixels = static_cast<int>(indentLeftMM*10/4);
 
             if ((GetFlags() & wxRICHTEXT_HANDLER_USE_CSS) == 0)
             {
 
             if ((GetFlags() & wxRICHTEXT_HANDLER_USE_CSS) == 0)
             {