]> git.saurik.com Git - wxWidgets.git/commitdiff
Commented out SetFont(wxNullFont) which causes an assertion on Windows
authorJulian Smart <julian@anthemion.co.uk>
Thu, 14 Oct 2004 10:16:24 +0000 (10:16 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 14 Oct 2004 10:16:24 +0000 (10:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/statusbr.cpp

index 372a82a5c5258534bc2ab589b9a1d5cc8c9a0b20..203295199ac45ee3fd24ac7731695aa0c5368102 100644 (file)
@@ -68,7 +68,9 @@ wxStatusBarGeneric::~wxStatusBarGeneric()
 {
     // VZ: what is this for? please comment...
 #ifdef __WXMSW__
-    SetFont(wxNullFont);
+    // JACS: commenting out since it causes an assert
+    // and there seems no reason for it.
+    // SetFont(wxNullFont);
 #endif // MSW
 }