]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_style.cpp
m_font may not have been set yet. Default to letting GetTextExtent
[wxWidgets.git] / src / html / m_style.cpp
index 9355867e81c90d0f0187253f6b079b14719f2de6..6f0eb8d766e889b0594bd3ee13801afb9b217faa 100644 (file)
@@ -7,7 +7,7 @@
 // Licence:     wxWindows Licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation
 #endif
 
@@ -17,7 +17,7 @@
 #include "wx/defs.h"
 #if wxUSE_HTML && wxUSE_STREAMS
 
-#ifdef __BORDLANDC__
+#ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
@@ -31,6 +31,7 @@ FORCE_LINK_ME(m_style)
 
 
 TAG_HANDLER_BEGIN(STYLE, "STYLE")
+    TAG_HANDLER_CONSTR(STYLE) { }
 
     TAG_HANDLER_PROC(WXUNUSED(tag))
     {