]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xmlres.cpp
Changes that were in aclocal.m4 but not here
[wxWidgets.git] / contrib / src / xrc / xmlres.cpp
index bbe8ce47c56145c5d2df065b091b792d4d5b915d..d9b2c4afff46ab1412cdde7e4a1db1088fc39fbe 100644 (file)
@@ -989,7 +989,7 @@ wxSize wxXmlResourceHandler::GetSize(const wxString& param)
     wxString s = GetParamValue(param);
     if (s.IsEmpty()) s = wxT("-1,-1");
     bool is_dlg;
-    long sx, sy;
+    long sx, sy = 0;
 
     is_dlg = s[s.Length()-1] == wxT('d');
     if (is_dlg) s.RemoveLast();