]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stdrend.cpp
fix for crash under wxX11: we get text event there when m_popup is still NULL
[wxWidgets.git] / src / univ / stdrend.cpp
index 865f5bc01870c5fc0493be6357a0805aac4f9712..0159f76d777e155a4aaf312cf01542c3c342af8c 100644 (file)
@@ -465,11 +465,11 @@ wxRect wxStdRenderer::GetBorderDimensions(wxBorder border) const
         case wxBORDER_THEME:
             width = 2;
             break;
-
+#if 0
         case wxBORDER_DOUBLE:
             width = 3;
             break;
-
+#endif
         default:
             wxFAIL_MSG(_T("unknown border type"));
             // fall through
@@ -696,7 +696,7 @@ void wxStdRenderer::DrawRadioButton(wxDC& dc,
         DrawCheckOrRadioButton(dc, label, bitmap, rect, flags, align, indexAccel);
     else
         DrawCheckOrRadioButton(dc, label, GetRadioBitmap(flags), rect, flags, align, indexAccel);
-    
+
 }
 
 void wxStdRenderer::DrawCheckOrRadioButton(wxDC& dc,