]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialize the new data memebers
authorRobin Dunn <robin@alldunn.com>
Fri, 11 Feb 2005 23:54:47 +0000 (23:54 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 11 Feb 2005 23:54:47 +0000 (23:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/ScintillaWX.cpp
src/stc/ScintillaWX.cpp

index bcb1c29b5b50715598ec47db53ca41f26fb09567..50773daee1d74bcd4c2b966a17bfd5d6f2fba070 100644 (file)
@@ -181,6 +181,11 @@ ScintillaWX::ScintillaWX(wxStyledTextCtrl* win) {
     stc   = win;
     wheelRotation = 0;
     Initialise();
     stc   = win;
     wheelRotation = 0;
     Initialise();
+#ifdef __WXMSW__
+    sysCaretBitmap = 0;
+    sysCaretWidth = 0;
+    sysCaretHeight = 0;
+#endif
 }
 
 
 }
 
 
index bcb1c29b5b50715598ec47db53ca41f26fb09567..50773daee1d74bcd4c2b966a17bfd5d6f2fba070 100644 (file)
@@ -181,6 +181,11 @@ ScintillaWX::ScintillaWX(wxStyledTextCtrl* win) {
     stc   = win;
     wheelRotation = 0;
     Initialise();
     stc   = win;
     wheelRotation = 0;
     Initialise();
+#ifdef __WXMSW__
+    sysCaretBitmap = 0;
+    sysCaretWidth = 0;
+    sysCaretHeight = 0;
+#endif
 }
 
 
 }