]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/mono.cpp
fix for crash under wxX11: we get text event there when m_popup is still NULL
[wxWidgets.git] / src / univ / themes / mono.cpp
index 4fd27cea1e29a4ca7fdedd661a3339aa88fefc27..45079a1384fb51e7cd94b1d2c7dbd01ea787c2dc 100644 (file)
@@ -650,13 +650,14 @@ wxRect wxMonoRenderer::GetBorderDimensions(wxBorder border) const
         case wxBORDER_STATIC:
         case wxBORDER_RAISED:
         case wxBORDER_SUNKEN:
+        case wxBORDER_THEME:
             width = 1;
             break;
-
+  /*
         case wxBORDER_DOUBLE:
             width = 2;
             break;
-
+   */
         default:
             wxFAIL_MSG(_T("unknown border type"));
             // fall through