]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gnome/gprint.cpp
don't load comctl32.dll, just get the handle of the already loaded instance of it...
[wxWidgets.git] / src / gtk / gnome / gprint.cpp
index d3e6fbe58d2b281e56de68366bb70c6ab29362cc..737bfc374b04aed26b9318df0e8e0ef01227161b 100644 (file)
@@ -1920,7 +1920,7 @@ void wxGnomePrinterDCImpl::DoGetTextExtent(const wxString& string, wxCoord *widt
     const wxCharBuffer dataUTF8 = string.utf8_str();
 #endif
 
-    gint oldSize;
+    gint oldSize = 0;
     if ( theFont )
     {
         // scale the font and apply it