]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
added constructor for compliance with wxPython
[wxWidgets.git] / src / html / htmltag.cpp
index 1632ed698741fa115bffacb5c58c608a2a48d4ed..85fa7286ee5bb4ad1dfd91fb14db3464f9bca16b 100644 (file)
@@ -332,7 +332,9 @@ wxString wxHtmlTag::GetParam(const wxString& par, bool with_commas) const
         return m_ParamValues[index];
 }
 
-int wxHtmlTag::ScanParam(const wxString& par, wxChar *format, void *param) const
+int wxHtmlTag::ScanParam(const wxString& par,
+                         const wxChar *format,
+                         void *param) const
 {
     wxString parval = GetParam(par);
     return wxSscanf(parval, format, param);
@@ -376,8 +378,9 @@ bool wxHtmlTag::GetParamAsColour(const wxString& par, wxColour *clr) const
         HTML_COLOUR("teal",    0x00,0x80,0x80)
         HTML_COLOUR("aqua",    0x00,0xFF,0xFF)
         #undef HTML_COLOUR
-        return FALSE;
     }
+
+    return FALSE;
 }
 
 bool wxHtmlTag::GetParamAsInt(const wxString& par, int *clr) const